Koha/members
Marcel de Rooy f26b68a07f Bug 20100: Disallow access to superlib privileges at server side
Depends on pref ProtectSuperlibPrivs.
If enabled, script member-flags.pl will not allow you to add or remove
superlib privs when you are no superlibrarian.
The follow-up patch will enable the check at client side.

Test plan:
[1] Enable the pref. Do not apply the third patch (client side).
[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 have an internal server error when
    you add or remove superlib privs. The log contains a warning.

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
..
accountline-details.pl Bug 2696: (QA follow-up) Fix POD, results sorting, permissions 2018-04-24 14:01:47 -03:00
boraccount.pl Bug 18790: Add ability to void payments 2018-04-19 12:32:21 -03:00
default_messageprefs.pl
deletemem.pl Bug 19935: Use ->checkouts when ->pending_checkouts->count was used 2018-04-03 11:43:39 -03:00
discharge.pl
discharges.pl
files.pl Bug 18789: Use Koha::Patron->is_adult where needed 2018-02-16 13:03:58 -03:00
guarantor_search.pl
holdshistory.pl Bug 18789: (QA follow-up) Update holdshistory.pl, fix is_child, is_adult, patron->image, clear template params 2018-02-16 13:03:58 -03:00
housebound.pl Bug 18789: (follow-up) Fix perlcritic issue - housebound.pl 2018-02-16 15:05:34 -03:00
mancredit.pl Bug 18789: Update other occurences where is_child should be used 2018-02-16 13:03:58 -03:00
maninvoice.pl Bug 18789: Update other occurences where is_child should be used 2018-02-16 13:03:58 -03:00
member-flags.pl Bug 20100: Disallow access to superlib privileges at server side 2018-04-25 10:23:53 -03:00
member-password.pl Bug 18789: Update other occurences where is_child should be used 2018-02-16 13:03:58 -03:00
member.pl
memberentry.pl Bug 20489: Prevent DB user login 2018-04-20 12:24:00 -03:00
members-home.pl
members-update-do.pl
members-update.pl
merge-patrons.pl Bug 9302: Add error message if keeper patron is invalid 2018-04-20 13:34:41 -03:00
mod_debarment.pl
moremember.pl Bug 19855: Remove getalert from moremember.pl 2018-04-23 14:22:14 -03:00
nl-search.pl
notices.pl Bug 18789: Use Koha::Patron->is_adult where needed 2018-02-16 13:03:58 -03:00
patronimage.pl
pay.pl Bug 12001: Move GetMemberAccountRecords to the Koha namespace 2018-02-23 10:57:30 -03:00
paycollect.pl Bug 18786: Add ability to create custom payment types 2018-04-19 12:32:21 -03:00
print_overdues.pl Bug 17553: Move GetOverduesForPatron to Koha::Patron->get_overdues 2018-04-03 11:43:06 -03:00
printfeercpt.pl Bug 12001: Move GetMemberAccountRecords to the Koha namespace 2018-02-23 10:57:30 -03:00
printinvoice.pl Bug 12001: (QA follow-up) Fix printinvoice page 2018-02-23 10:57:30 -03:00
printslip.pl
purchase-suggestions.pl
readingrec.pl Bug 18789: Update other occurences where is_child should be used 2018-02-16 13:03:58 -03:00
routing-lists.pl Bug 18789: Update other occurences where is_child should be used 2018-02-16 13:03:58 -03:00
setstatus.pl
statistics.pl Bug 18789: Use Koha::Patron->is_adult where needed 2018-02-16 13:03:58 -03:00
summary-print.pl Bug 19935: Replace GetPendingIssues - summary-print 2018-04-03 11:43:38 -03:00
update-child.pl