Koha/installer/data/mysql
Mark Tompsett b2ba2fa5ef Bug 16978: Followup - Copy create_report permissions for delete_report
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>
2016-09-09 13:23:52 +00:00
..
atomicupdate Bug 16978: Followup - Copy create_report permissions for delete_report 2016-09-09 13:23:52 +00:00
de-DE Bug 16472: Update MARC21 de-DE frameworks to update 22 (April 2016) 2016-06-24 13:41:13 +00:00
en Bug 16573: fix structure and sample data for MySQL 5.7 2016-08-01 09:39:14 +00:00
es-ES Bug 16470: Update MARC21 es-ES frameworks to Update 22 (April 2016) 2016-05-16 17:57:21 +00:00
fr-CA Bug 17064 - Delete backup marc21_framework_DEFAULT.sql~ file 2016-08-08 13:15:29 +00:00
fr-FR Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
it-IT Bug 16585: Update Italian installer sample files for 16.05 2016-08-05 06:11:11 +00:00
mandatory Bug 14048: (QA followup) Default to 1 if no default rule 2016-07-07 10:37:01 -06:00
nb-NO Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
pl-PL Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
ru-RU Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
uk-UA Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
kohastructure.sql Bug 15839: Koha::Reviews - Change default value for approved to 0 2016-09-09 10:29:57 +00:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 16275: Add the new pref PatronSelfRegistrationEmailMustBeUnique 2016-09-09 11:57:54 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 16685 [QA Followup] - Use Path::Tiny::slurp instead of File::Slurp 2016-09-09 12:53:07 +00:00
userflags.sql Bug 13632: Populate user_flags and permissions tables in the web installer 2015-10-19 09:38:04 -03:00
userpermissions.sql Bug 16978: Add delete reports user permission 2016-09-09 13:23:52 +00:00