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

--- Comment #212 from Olivia Reynolds <[email protected]> ---
Created attachment 208790
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208790&action=edit
Bug 30557: (follow-up) Denormalise owner branchcode

To retain access for group-shared item lists after their owner is
deleted, we must store the branchcode of the most recent list owner on
the list itself and use that for permission checking.

Test plan:
1.  Apply patch.
2.  Create a test librarian.
3.  As this test librarian, create an item list with group sharing.
4.  Ensure your superlibrarian is in the same group as your test
    librarian.
5.  Verify the superlibrarian can see the item list.
6.  Delete the test librarian.
7.  Verify the superlibrarian can still see the item list.
8.  Prove t/db_dependent/Koha/Item/List.t, and verify all tests pass.

Sponsored-by: CLAMS

-- 
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