https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43106
--- Comment #9 from David Nind <[email protected]> --- Created attachment 212463 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212463&action=edit Bug 43106: Add sip_client permission for SIP2 client accounts SIP2 logins currently require the circulate permission. This adds a dedicated top-level permission, sip_client, and makes SIP2 authentication require it instead of circulate. The database update grants sip_client to SIP2 account patrons that have circulate, so existing setups keep working. This also stops the login_core() test's api_auth mock from leaking into later subtests (Test::MockModule shares one object per package). Test plan: 1. Before applying, make sure a SIP2 account's patron has the top-level circulate permission (KTD's term1 does) 2. Apply patches, run updatedatabase, confirm it reports granting sip_client to that patron 3. Confirm "Authenticate as a SIP2 client (sip_client)" appears as a top-level permission on the patron's set permissions page, and is checked for that patron 4. Log in with that account via misc/sip_cli_emulator.pl, confirm login succeeds 5. Remove circulate from the patron, leaving only sip_client, confirm login still succeeds 6. Remove sip_client and give the patron circulate, confirm login fails 7. prove t/db_dependent/SIP/MsgType.t Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
