Active
Project:
Drupal core
Version:
main
Component:
user system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2021 at 01:26 UTC
Updated:
5 Jan 2024 at 14:32 UTC
Jump to comment: Most recent
Follow-up for #987978-57: Move "administrator role" setting to new Role Settings form:
we probably want to visually promote the value to the role overview page. Sort of the "settings summary" pattern. Or a whole new column in that table (there's plenty of space for it) to indicate anything special about each role. Not sure what the column should be labeled, what values it would contain, etc. But if I'm scanning my collection of roles, it'd be nice to know which one(s) are the admin role(s)
Somehow indicate which role at /admin/people/roles is the 'Administrator role'.
TBD.
Unlikely.
None.
TBD.
Comments
Comment #2
aaronmchaleWe briefly discussed this at #3228187: Drupal Usability Meeting 2021-08-20 today.
I brought it up to get some initial thoughts on this issue.
One of the main initial reasons for this issue is because right now it's technically possible for more than one role to be marked as the "admin role", but in the UI we only ever show one role (in the form of a dropdown on the new Role Settings form). When #3229029: Introduce a role.settings config object and move 'Administrator role' out of the Role entity config is fixed, this specific problem will be resolved.
With that in mind we weren't able to agree on any initial recommendations, but one idea that was proposed was to simply add some help text above the role list, either stating which role is the admin role, or just linking to the Role Settings.
We felt that whatever option is chosen here, should align with the idea that the role settings screen opens up the possibility of having other "dynamically defined roles" (e.g. Anonymous, Authenticated, etc); So we felt that an option that - much like the Role Settings form - is extensible and can be expanded to facilitate these other roles, would be the best outcome here.
We also considered what it would look like if the Administrator role had a red asterisk next to it (like required form fields do), with some help text. However, we felt that this idea didn't align with the statement above, that is to say we did feel that was an option which could be easily extended for other roles.
Comment #7
liam morland