]> git.koha-community.org Git - koha.git/commit
Bug 13583 - Able to view menu for Statistics even when user does not have permission
authorThomas <tomsStudy@gmail.com>
Wed, 14 Jan 2015 22:57:37 +0000 (22:57 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 21 Jan 2015 14:56:42 +0000 (11:56 -0300)
commitb57d9af154bf6fe5d2c85262212765b0d1fe2bde
tree982143f644b904b306ecb073844c71c754175fc8
parentbe1bb8db4efeea1c45048ca9526a3ebae8477ae0
Bug 13583 - Able to view menu for Statistics even when user does not have permission

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

Testing Plan:

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

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

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc