[Koha-bugs] [Bug 32968] Create granular permissions for ERM

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 1 13:36:44 CET 2023


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

--- Comment #17 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Preparation:
* Apply patch and reset_all
* Enable ERMModule sys pref
* Create a new patron John (staff) with only catalogue, acquisitions and
borrowers permissions (these last 2 are required for ERM, for now, see bug
32971)

Test plan - show:
* Add only the erm_show permission to John
* Login as John
* Verify that John has read-only access to all ERM, but cannot create edit or
delete anything

Test plan - admin:
* Add only the erm_admin permission to John
* Login as John
* Verify that all ERM CRUD is available

Test plan - licenses:
* Add only the erm_licensing permission to John
* Login as John
* Verify that only licenses are available in the menu and that accessing
directly to /cgi-bin/koha/erm/agreements will redirect to erm homepage

Test plan - agreements:
* Add only the erm_agreement permission to John
* Login as John
* Verify that side menu has all content available
* Verify that John can create edit and delete agreements
* Verify that John can only read licenses and accessing
/cgi-bin/koha/erm/licenses/add will redirect to erm homepage
* Verify that John can only read eHoldings and accessing
/cgi-bin/koha/erm/eholdings/local/titles/add will redirect to erm homepage

Test plan - eholdings:
* Add only the erm_eholdings permission to John
* Login as John
* Verify that side menu has all content available except licenses
* Verify that John can create edit and delete eholdings titles and packages
* Verify that John can only read agreements and accessing
/cgi-bin/koha/erm/agreements/add will redirect to erm homepage

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


More information about the Koha-bugs mailing list