b2ba2fa5ef
This patch should deal with comment #6's point of where a user who has create, but not execute permissions, would lose delete ability. Users with create and execute permissions would already have delete as well. TEST PLAN --------- 1) Back up db 2) drop database koha_library; 3) create database koha_library; 4) web install with all sample data with system user 6) log into staff client as system user 7) make sample koha admin user a superlibrarian 8) set username and password for sample koha admin user 9) log out and log in as koha admin 10) Create a user (USER_A) with permissions: create_reports and execute_reports. 11) Create a user (USER_B) with permissions: create_reports, but not execute_reports. 12) Create a user (USER_C) with permissions: execute_reports, but not create_reports. 13) Create a user (USER_D) with no report permissions. 14) Run the atomic update. 15) Check USER_A permissions -- should have delete_reports 16) Check USER_B -- should have delete_reports 17) Check USER_C -- should NOT have delete_reports 18) Check USER_D -- should NOT have delete_reports 19) run koha qa test tools 20) restore db Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
---|---|---|
.. | ||
atomicupdate | ||
de-DE | ||
en | ||
es-ES | ||
fr-CA | ||
fr-FR | ||
it-IT | ||
mandatory | ||
nb-NO | ||
pl-PL | ||
ru-RU | ||
uk-UA | ||
audio_alerts.sql | ||
backfill_statistics.pl | ||
kohastructure.sql | ||
labels_upgrade.pl | ||
patroncards_upgrade.pl | ||
sysprefs.sql | ||
update22to30.pl | ||
updatedatabase.pl | ||
userflags.sql | ||
userpermissions.sql |