Koha-clms/installer/data/mysql
Jonathan Druart 462db68024 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>
2020-02-10 23:08:59 +00:00
..
atomicupdate Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-10 23:08:59 +00:00
de-DE Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
en Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
es-ES Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
fr-CA Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
fr-FR Bug 24328: Fix bibliographic frameworks install (linkid) 2020-01-14 01:08:44 +00:00
it-IT Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
mandatory Bug 14697: (QA follow-up) Add missing AV category 2019-10-31 12:05:21 +00:00
nb-NO Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
pl-PL Bug 24289: Make sure sample_holidays will load after sample_libraries 2020-02-07 23:01:59 +00:00
ru-RU Bug 24274: Remove field 01e from sql installer files 2020-01-12 18:59:20 +00:00
uk-UA Bug 24274: Remove field 01e from sql installer files 2020-01-12 18:59:20 +00:00
account_credit_types.sql Bug 23805: (RM follow-up) Correction to sql installer file 2019-10-25 09:37:25 +01:00
account_debit_types.sql Bug 23049: (QA follow-up) Correction for 'M' => 'MANUAL' 2019-10-24 17:25:09 +01: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-07 23:01:47 +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-01-31 22:22: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.11.02.003 2020-02-07 23:11:45 +00:00
userflags.sql Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-10 23:08:59 +00:00
userpermissions.sql Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-10 23:08:59 +00:00