[Koha-bugs] [Bug 13584] Able to view menu for Purchase Suggestions even when user does not have permission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 15 12:08:12 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13584

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35285|0                           |1
        is obsolete|                            |

--- Comment #5 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 35298
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35298&action=edit
Bug 13584 - Able to view menu for Purchase Suggestions even when user does not
have permission

Added check for borrowers that stops the Purchase Suggestions 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
*Purchase suggestions item should not be seen in the menu.

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

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
The page requires borrowers permission, so the link should act accordingly.

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Same problem for Fines, Circulation history, Notices and Statistics
tabs.
circ-menu.tt is only used from the Fines tab (which is not accessible),
to it's not useful to add this check to it. But for the consistency, it
makes sense. follow-up coming.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list