meeting-room-booking-system / mrbs-code

MRBS application code
Other
121 stars 59 forks source link

Admin only area #1888

Open jberanek opened 7 years ago

jberanek commented 7 years ago

[Transferred from the general mailing list]

Is it possible, that an admin can make booking in only area while other areas are free for booking by all User?

Reported by: campbell-m

Original Ticket: mrbs/support-requests/1169

jberanek commented 7 years ago

One way you could do this just using standard MRBS is to have two installations of MRBS, one for the area where only admins can book and one for the other areas. If you are using the 'db' authentication scheme you could make the first installation use the 'db_ext' scheme, so that you just have a single place where you manage users.

If you want to do this using a single MRBS installation then you'd have to modify the code, in particular the function getWritable() in mrbs_auth.inc.

Original comment by: campbell-m