Koha/koha-tmpl/intranet-tmpl/prog
Marcel de Rooy ccf62d46d7 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@rijksmuseum.nl>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-25 10:23:53 -03:00
..
css Bug 20622: Add some color to bootstrap modal headers and footers 2018-04-23 14:22:13 -03:00
en Bug 20100: Disallow access to superlibrarian privileges at client side 2018-04-25 10:23:53 -03:00
img Bug 20322: (QA follow-up) Use Font Awesome icons 2018-04-19 16:37:23 -03:00
js Bug 20343: Put translatable strings in strings.tt 2018-04-19 12:32:20 -03:00
pdf
sound