Koha-clms/installer/data/mysql
Jonathan Druart f0c60dfe6f Bug 22868: Move suggestions_manage subperm out of acquisition perm
Bug 11911 replaced the permission of suggestions.pl (create a purchase
suggestion) from catalogue => 1 to acquisition => 'suggestions_manage'.
However we have a lot of acquisition scripts that have lax permissions
(acquisition => '*' which means any sub permissions of acquisition is
enough).

That causes problem when a circulation staff can create purchase
suggestions but not access acquisition information.

One solution is to move the suggestions_manage subpermission out of the
acquisition permission and create a new suggestion permission.

Test plan:
0. Setup
* Create a patron with several permission (and full acquisition
permission)
* Create another patron with several permission, and suggestions_manage
permission
* Create another patron without the suggestions_manage permission
1. Apply the patch and execute the update database entry
2. Note that the third patron you create still does not have
suggestions_manage
3. Confirm that you can create a purchase suggestion if you have
suggestions_manage, but cannot access acquisition pages if you do not
have any subpermissions of the acquisition permission

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 462db68024)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-14 20:19:59 +00:00
..
atomicupdate Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-14 20:19:59 +00:00
de-DE Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
en Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
es-ES Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
fr-CA Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
fr-FR Bug 24328: Fix bibliographic frameworks install (linkid) 2020-01-15 23:06:00 +00:00
it-IT Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
mandatory Bug 22770: Fix typo in German language description of el 2019-06-20 14:27:57 +02:00
nb-NO Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
pl-PL Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-13 21:02:18 +00:00
ru-RU Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
uk-UA Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
account_offset_types.sql Bug 22521: (QA follow-up) Corrections to tests 2019-04-17 16:49:36 +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 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 24289: Add foreign keys on *_holidays.branchcode tables 2020-02-13 21:01:50 +00:00
labels_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
patroncards_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
sysprefs.sql Bug 24206: Update content of OpacSearchForTitleIn for existing installations 2020-02-12 22:36:23 +00:00
update22to30.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
updatedatabase.pl Bug 24289: DBRev 19.05.07.004 2020-02-13 21:09:05 +00:00
userflags.sql Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-14 20:19:59 +00:00
userpermissions.sql Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-14 20:19:59 +00:00