Bug 13582 - Able to view menu for Circulation History even when user does not have...
authorThomas <tomsStudy@gmail.com>
Wed, 14 Jan 2015 22:03:40 +0000 (22:03 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 21 Jan 2015 14:04:49 +0000 (11:04 -0300)
commitc8f3f9f57484f43779fadae8939c214e3691d4d8
tree6aa4de062f4ab6fec797e712ba841d787c89bab7
parent82c78355c79c960853a413419f6f5873826317b6
Bug 13582 - Able to view menu for Circulation History even when user does not have permission

Added check for borrowers that stops the Circulation History link being shown.
This could be done through the css but that function currently appears to be broken.

Testing Plan:

-Search for a patron with an account that does not have the 'borrowers' permission
*Circulation history should not be seen in the menu.

-Change the accounts permissions so they have the 'borrowers' permission
*Circulation history should be present in the menu.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc