Problem/Motivation
When on the Overview for Roles, you can click "Edit permissions" as an operation for roles. However, when you edit a Role you cannot access "Edit permissions." This route should be added as a local task. I constantly click "Edit" when I need "Edit permissions"
Related to #393406: "Edit" links on roles admin page are confusing to users: "Edit permissions" should be the primary link. But that doesn't solve the dead end for users.
Steps to reproduce
Edit role
Try to edit its permissions.
Proposed resolution
Add "Edit permissions" route as local task for the role
Remaining tasks
User interface changes
Extra local task added on role edit form.
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot 2023-05-02 at 4.04.32 PM.png | 173.44 KB | mglaman |
Issue fork drupal-3355403
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3355403-add-edit-permisisons
changes, plain diff MR !3910
Comments
Comment #3
mglamanResult
Comment #4
andy-blumwhile we're at it can we add a JS search box that filters the massive table down to the items that have matching text a la permissions_filter?
Comment #5
mglamanNeeds test to verify the UI changes.
@andy-blum seems like a good follow up
Comment #6
smustgrave commentedVerified applying MR that on "admin/people/roles/manage/anonymous" there is a "Permissions" tab now.
Moving to NW for the tests mentioned.
Comment #7
mglamanAdded the test!
Comment #8
borisson_I agree, this is a good improvement.
Comment #11
lauriiiCommitted 80aa96f and pushed to 11.x. Thanks!
Keeping open for potential 10.1.x backport. As a feature request this wouldn't qualify for the backport during RC but since this is a usability issue, it could have been filed as a bug too.
Comment #14
lauriiiDiscussed with @catch and decided to backport because this only needs to add a new local task, and as such is low risk.