Koha-clms/serials
Fridolin Somers ffd14c3d28 Bug 19323: subscription edit permission issue
If a librarian has edit_subscription but not create_subscription :
When trying to edit a subscription, after saving permission is denied.

This is because permissions in serials/subscription-add.pl depends on arg 'op' and on edit this arg starts with 'modify' but changes to 'modsubscription' when saving.

Test plan :
- Create a user with staff access
- Define its permissions on serials : only edit_subscription
- Edit a subscription
- Click 'Next'
- Click 'Test prediction pattern'
- Click 'Save subscription'
=> Without patch you get to page serials/subscription-add.pl with permission denied
=> With patch subscription is saved and you get to subscription details page

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 12bd6358cf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit fe386c1724)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-10-18 23:20:38 +02:00
..
acqui-search-result.pl Bug 14870: (followup) Remove stray C4::Dates 2015-11-19 13:05:06 -03:00
acqui-search.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
add_fields.pl Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories 2016-10-28 16:35:52 +00:00
add_user_search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
checkexpiration.pl Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
claims.pl Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
create-numberpattern.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
lateissues-export.pl Bug 18536: [QA Follow-up] Tiny regex simplification 2017-05-21 23:25:47 +02:00
reorder_members.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
routing-preview.pl Bug 15758: Koha::Libraries - Ultimate duel for C4::Branch 2016-09-08 14:36:04 +00:00
routing.pl Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
serial-issues.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
serials-collection.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
serials-edit.pl Bug 7677: QA followup 2016-09-12 09:13:57 +00:00
serials-home.pl Bug 15758: Koha::Libraries - Ultimate duel for C4::Branch 2016-09-08 14:36:04 +00:00
serials-search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
showpredictionpattern.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
subscription-add.pl Bug 19323: subscription edit permission issue 2017-10-18 23:20:38 +02:00
subscription-bib-search.pl Bug 12478: make things using SimpleSearch use the new version 2016-04-26 20:20:07 +00:00
subscription-detail.pl Bug 13321: Rename variables 2016-10-28 13:45:59 +00:00
subscription-frequencies.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
subscription-frequency.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
subscription-history.pl Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
subscription-numberpattern.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
subscription-numberpatterns.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
subscription-renew.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
viewalerts.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00