]> git.koha-community.org Git - koha.git/commit
Bug 16231: Correct permission handling in subscription edit
authorOwen Leonard <oleonard@myacpl.org>
Wed, 3 Oct 2018 16:07:19 +0000 (16:07 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Feb 2019 13:41:31 +0000 (13:41 +0000)
commitf2151c1bbc98003576606d8b1bd2cb2453e6925a
treeb6108b9a8d90a5a13f0ed35f367e0933fbee461d
parent413f34ba244af3560861785f5aa74ab457f00b02
Bug 16231: Correct permission handling in subscription edit

This patch corrects the way subscription edit menu items are displayed
according to the user's permissions settings.

To test, apply the patch and log in to the staff client as a user who
has permission to create, edit, and delete subscriptions.

- Locate an subscription and view the details for it.
- Confirm that each "Edit" menu item works correctly.
- Repeat the process when logged in as a user with varying combinations
  of create, edit, and delete permissions.
- Test as a user limited by IndependentBranches.

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7520ede89987a7a65301debdda46950a6364ebfd)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc