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 Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
add_fields.pl
add_user_search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
checkexpiration.pl
claims.pl Bug 8612: [Follow-up] Make usage and type different columns in table 2017-06-05 12:02:08 -03:00
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 Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
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 Bug 18181: Can't tell which subscriptions already have a routing list if seeing all subs attached to a biblio 2017-03-31 13:51:12 +00:00
serials-edit.pl Bug 18262: Koha::Biblio - Remove GetBiblioData - part 1 2017-07-14 12:22:23 -03:00
serials-home.pl
serials-search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
showpredictionpattern.pl
subscription-add.pl Bug 19323: subscription edit permission issue 2017-09-29 12:35:59 -03:00
subscription-bib-search.pl Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
subscription-detail.pl Bug 13726: Make Koha::Acq::Bookseller using Koha::Object 2016-12-30 11:54:32 +00:00
subscription-frequencies.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
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 Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
viewalerts.pl