Koha/serials
Fridolin Somers 12bd6358cf 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>
2017-09-29 12:35:59 -03:00
..
acqui-search-result.pl Bug 19130: (followup) Controller scripts should preserve behaviour 2017-08-25 11:53:44 -03:00
acqui-search.pl
add_fields.pl
add_user_search.pl
checkexpiration.pl
claims.pl
create-numberpattern.pl
lateissues-export.pl Bug 18536: [QA Follow-up] Tiny regex simplification 2017-05-19 10:41:39 -04:00
reorder_members.pl
routing-preview.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
routing.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
serial-issues.pl
serials-collection.pl
serials-edit.pl Bug 18262: Koha::Biblio - Remove GetBiblioData - part 1 2017-07-14 12:22:23 -03:00
serials-home.pl Bug 15758: Koha::Libraries - Ultimate duel for C4::Branch 2016-09-08 14:36:04 +00:00
serials-search.pl
showpredictionpattern.pl
subscription-add.pl Bug 19323: subscription edit permission issue 2017-09-29 12:35:59 -03:00
subscription-bib-search.pl
subscription-detail.pl
subscription-frequencies.pl
subscription-frequency.pl
subscription-history.pl Bug 18260: Koha::Biblio - Remove GetBiblio 2017-07-10 13:03:38 -03:00
subscription-numberpattern.pl
subscription-numberpatterns.pl
subscription-renew.pl
viewalerts.pl