https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35980

--- Comment #2 from Brendan Lawlor <[email protected]> ---
Created attachment 164433
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164433&action=edit
Bug 35980: Check for CAN_user_borrowers_edit_borrowers in members-toolbar.inc

This patch removes the message button and more links from the members toolbar
if the user does not have CAN_user_borrowers_edit_borrowers

To test:
1. Log in with a user with only 'catalogue' and 'list_borrowers' permissions
2. Search for a patron
3. Notice the 'Add message' and 'More' buttons in the toolbar only link to
permissions errors
3. Apply patch, restart all, reload the page
4. Notice the buttons in the toolbar are gone

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to