[Koha-bugs] [Bug 33999] Subscription details link on bibliographic detail page should have permission check
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 13 21:10:42 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33999
Lucas Gass <lucas at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #152314|0 |1
is obsolete| |
--- Comment #2 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 152320
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152320&action=edit
Bug 33999: Subscription details link on bibliographic detail page should have
permission check
This patch wraps the "Subscription details" link on the bibliographic
detail page with a permissions check, "CAN_user_serials," so that a user
lacking permission to access the Serials module will not be shown the
link.
To test, apply the patch and view the bibliographic detail page of a
serial record.
- When viewing the "Subscriptions" tab as a user with Serials
permissions you should see the "Subscription details" link.
- When viewing the tab as a user without the correct permissions the
link should not be present.
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list