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

Lucas Gass <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #169395|0                           |1
        is obsolete|                            |

--- Comment #12 from Lucas Gass <[email protected]> ---
Created attachment 169429
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169429&action=edit
Bug 37383: Use libraries_where_can_edit_items to check if items are editable

To test:
1 - have a system with 2+ branches
2 - have a bib with 2+ items, all with holdingbranch=A
3 - set logged in library to A
4 - go to bib details page, confirm each item has an Edit button in the
holdings table
5 - edit one item, set holdingbranch=B
6 - reload bib details page
7 - confirm the item now at branch B does not have an edit button
8 - APPLY PATCH and restart_all
9 - Try 1 - 6 again, this time you should see the proper edit buttons
10 - Set up library group:
    * Create a library group for library A + B
    * Action: Limit item editing by group
11 - Set up test user:
    * Create a staff patron with these permissions:
    * catalogue
    * fast_cataloguing
    * edit_items
    * view_borrower_infos_from_any_libraries
    * edit borrowers
* Home library: library A

12 - Set up test items:
    * Create a record with 3 items with different home libraries:
        * A
        * B
        * C

13 - We expect the use to be able to edit A and B, but not C.
14 - With the same user turn OFF the view_borrower_infos_from_any_libraries
permission
15 - Behavior should not change, we expect the use to be able to edit A and B,
but not C.
16 - Make sure StaffDetailItemSelection still works as expected for all users.
With the sys pref on the checkbox should show up for superlibrarians and users
with 'tools' permissions.

Signed-off-by: Michaela Sieber <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to