meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 62 forks source link

Approving group #3558

Open lagethomas opened 12 months ago

lagethomas commented 12 months ago

Good afternoon, is it enough to be an administrator to approve a reservation? Would it be possible to have an Approver permission group, in which this user would only be responsible for approval and be able to schedule demands? Otherwise, I will have to give Administrator permission to a person who should only approve reservations and thus have full access to the system. It would be something like a company receptionist who is responsible for scheduling and releasing room reservations.

campbell-m commented 12 months ago

You can modify the function is_book_admin() in mrbs_sql.inc to give booking admin rights to certain users. A booking admin can approve, edit and delete other peoples' bookings, but cannot create, edit or delete rooms, areas and users.

Alternatively you can use the roles branch, but this is still under development. It will also upgrade your database, so you might want to test it with a test database first (and keep a backup of your existing database in case you want to go back to it).

lagethomas commented 12 months ago

Você pode modificar a função is_book_admin()em mrbs_sql.inc para conceder direitos de administrador de reservas a determinados usuários. Um administrador de reservas pode aprovar, editar e excluir reservas de outras pessoas, mas não pode criar, editar ou excluir salas, áreas e usuários.

Alternativamente, você pode usar o ramo de funções, mas ainda está em desenvolvimento. Ele também atualizará seu banco de dados, então você pode querer testá-lo primeiro com um banco de dados de teste (e manter um backup do seu banco de dados existente caso queira voltar a ele).

How do I enable the function branch?

campbell-m commented 12 months ago

You have to download it from here by following the green Code button.

Remember that it is still under development and it will upgrade your database so that standard MRBS will no longer work. So I would test it in an isolated environment first.