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

--- Comment #251 from Andrew Fuerste-Henry <[email protected]> ---
Created attachment 211276
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211276&action=edit
Bug 42625: Add tests for can_be_edited group exemption

Cover Koha::Biblio->can_be_edited for locked records: a patron from a
linked library group can edit them, a patron outside the linked groups
cannot, removing the link locks the record again, and a superlibrarian
is never blocked.

To test:
1. Apply the patches, then run updatedatabase.pl
2. Run: prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass

Signed-off-by: Brendan Lawlor <[email protected]>
Sponsored-by: CLAMS
Signed-off-by: Andrew Fuerste Henry <[email protected]>
Signed-off-by: Martin Renvoize <[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/

Reply via email to