[Koha-bugs] [Bug 16231] Correct permission handling in subscription edit menu

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 13 15:33:00 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 50195
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50195&action=edit
Bug 16231 - Correct permission handling in subscription edit menu

This patch corrects the way subscription edit menu items are displayed
according to the user's permissions settings. The edit menu has been
updated to use the menu item terms "Edit," "Duplicate," and "Delete"
instead of "Edit subscription," "Edit as new (duplicate)", and "Delete
subscription. The change makes the terms less redundant and more
consistent with other similar menus in Koha. Font Awesome icons have
been added to each menu item.

This patch also removes a non-standard "fa-lg" class from some Font
Awesome icons in the toolbar.

To test, apply the patch and log in to the staff client as a user who
has permission to create, edit, and delete subscriptions.

- Locate an subscription and view the details for it.
- The "Edit" menu should show three options: "Edit," "Duplicate," and
  "Delete."
- Confirm that each menu item works correctly.
- Repeat the process when logged in as a user with varying combinations
  of create, edit, and delete permissions.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list