Currently the cataloging home page (addbooks.pl)requires edit_catalog permission. The page should be accessible to users who have either edit_catalog permission, edit_items permission, or both. Links on the page should be shown or hidden based on those permissions.
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