[Koha-bugs] [Bug 11819] Don't show catalog edit menu if user has no edit permissions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Feb 23 22:58:53 CET 2014


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

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 25564
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25564&action=edit
[PASSED QA] Bug 11819 - Don't show catalog edit menu if user has no edit
permissions

Currently if the logged in user lacks any cataloging permissions the
bibliographic detail page (catalogue/detail.pl) still shows the Edit
button, but with an empty dropdown menu. This patch corrects the toolbar
include so that the button will not appear at all.

To test, view the biblio detail page as a user with various combinations
of the following permissions:

- edit_items
- edit_catalogue
- items_batchmod
- items_batchdel

The edit button should appear with the correct set of links when the
user has any combination of the above permissions. If user has none the
button should not appear.

Followed test plan, patch behaves as expected
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Works as expected, passes all tests and QA script.
Template only change.

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


More information about the Koha-bugs mailing list