[Koha-bugs] [Bug 20100] Should a non-superlibrarian be able to add superlibrarian privileges?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 13 10:37:57 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20100

--- Comment #20 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 72750
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72750&action=edit
Bug 20100: Disallow access to superlibrarian privileges at client side

This last patch activates the check at client side.
If the pref ProtectSuperlibPrivs is enabled, non-superlibs should not be
able to change superlibrarian privileges via the interface.

Test plan:
[1] Enable the pref.
[2] Login as superlib and add/remove superlib privs to a staff user.
[3] Login as another user (no superlib, but having borrowers, permissions
    and staff_access). Verify that you cannot add or remove superlib
    privs.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: JM Broust <jean-manuel.broust at univ-lyon2.fr>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list