[Koha-bugs] [Bug 30213] Hide Delete (aka Priority) column when user only has place_hold permission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 3 15:43:21 CET 2022


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 131327
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131327&action=edit
Bug 30213: Hide Delete (aka Priority) column when user only has place_hold
permission

This patch changes the way the priority column displays when viewing a
list of holds as a user who doesn't have permission to change hold
priority.

To test:

- Apply the patch and log into the staff interface as a user with
  at least "place_hold" permission.
- Locate a record which can be put on hold and place multiple holds.
- View the list of holds.
- As a user with both "place_hold" and "modify_holds_priority"
  permission, you should see a "Priority" column with <select> fields
  allowing you to change hold priority. You should also see the arrow
  buttons for changing priority.
- As a user with only "place_hold" permission, the "Priority" column
  should show the priority as a number. You should not see the arrow
  buttons.
- In both cases, confirm that all operations work correctly: Changing
  hold date, expiration date, pickup library, suspended status;
  Cancelling holds.

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


More information about the Koha-bugs mailing list