Summary: | Cataloging home page should be accessible to users with permission to edit catalog or edit items | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Cataloging | 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: | |||
Bug Blocks: | 8160 | ||
Attachments: |
Bug 8161 - Cataloging home page should be accessible to users with permission to edit catalog or edit items
Bug 8161 - Cataloging home page should be accessible to users with permission to edit catalog or edit items |
Description
Owen Leonard
2012-05-29 16:08:56 UTC
Created attachment 9838 [details] [review] Bug 8161 - Cataloging home page should be accessible to users with permission to edit catalog or edit items This patch modifies the permissions required to access the cataloging home page (addbooks.pl) so that the user requires edit_catalogue, edit_items, or fast_cataloging permission. Users with only edit_catalogue permission will only see biblio edit links. Users with edit_items permission will only see item edit links. Users with fast_cataloging permission will only be able to view information about contents of the catalog--useless for them but I'm not sure how better to handle it. To test, log in as a user with each of the above permissions enabled separately and in combination and test access. Created attachment 9839 [details] [review] Bug 8161 - Cataloging home page should be accessible to users with permission to edit catalog or edit items This patch modifies the permissions required to access the cataloging home page (addbooks.pl) so that the user requires edit_catalogue, edit_items, or fast_cataloging permission. Users with only edit_catalogue permission will only see biblio edit links. Users with edit_items permission will only see item edit links. Users with fast_cataloging permission will only be able to view information about contents of the catalog--useless for them but I'm not sure how better to handle it. To test, log in as a user with each of the above permissions enabled separately and in combination and test access. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Generalizes permissions slightly to cover more cases of valid users, then uses permissions to hide unusable links in the template. Marking Passed QA. Pushed to 3.8.x, will be in 3.8.2 |