[Koha-bugs] [Bug 15472] Do not display links to circulation.pl if remaining_permissions is not set
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 21:21:11 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15472
Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #46265|0 |1
is obsolete| |
--- Comment #3 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 46499
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46499&action=edit
[SIGNED-OFF]Bug 15472: Do not display links to circulation.pl if
remaining_permissions is not set
If permission 'circulate_remaining_permissions' is not set, links to
'Circulation'
(/circ/circulation-home.pl) on the intranet home page lead to an error
message: "Error: You do not have permission to access this page."
This patch hides the links if the permission is not set.
To test:
- Apply patch
- Log in to the intranet (staff client) with a patron who has the permission
'circulate_remaining_pernissions' not set
- Verify that no links to Circulation appear on the intranet start page
(menu top left and menu in main page area)
- Log in as a user who has the permission set.
- Verify that te links appear as appropriate.
Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as advertised
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list