Summary: | Link to cataloging appears for users without cataloging permission | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | chris, koha.sekjal, paul.poulain |
Version: | 3.8 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 8161 | ||
Bug Blocks: | |||
Attachments: |
Bug 8160 - Link to cataloging appears for users without cataloging permission
Bug 8160 - Link to cataloging appears for users without cataloging permission |
Description
Owen Leonard
2012-05-29 15:20:13 UTC
Created attachment 9842 [details] [review] Bug 8160 - Link to cataloging appears for users without cataloging permission This patch wraps cataloging links on the staff client home page and in the header menu with checks for edit_catalogue OR edit_items permission. To test, access the staff client as a user with various permissions. The "cataloging" link on the main page and in the header menu should only appear to a user with edit_catalogue permission, edit_items permission, or both. Created attachment 9898 [details] [review] Bug 8160 - Link to cataloging appears for users without cataloging permission This patch wraps cataloging links on the staff client home page and in the header menu with checks for edit_catalogue OR edit_items permission. To test, access the staff client as a user with various permissions. The "cataloging" link on the main page and in the header menu should only appear to a user with edit_catalogue permission, edit_items permission, or both. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Makes permissions check for display of cataloging page consistent and logical (user must have catalog or item editing permissions to get to the page where one can do that...) Passed QA. Pushed to 3.8.x, will be in 3.8.2 |