New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add capability editing to users manager #13842
Conversation
Didn't know there was a category, will see what it looks like.
I'm not sure (cc @mattab). I guess if it's ok to just add |
We could also show capabilities one on each row, and perhaps make the list expandable so you'd only see:
until clicking 'see more'. Having one on each row looked pretty good, but it did make the rows a lot bigger. |
Not sure what it would look like... would it be possibly by default show kind of as regular text This only viewing what the current state is. To assign them, we could have behind each page an edit /expand button? I know it could be quite painful when wanting to grant many capabilities to many sites, but for this we also have the bulk actions... and I reckon those capabilities are very rarely used. So personally I'd be fine with that. Or maybe we could somehow use chips which are a bit more efficient? |
Chips might work if we combine it w/ a dropdown (ie, instead of the user typing in a new chip, the blank chip is a select w/ the list of available capabilities). If a capability is included in a role, we could show it w/ the remove icon disabled. Will try it. |
I just remember we have this UI field as well in Custom Reports called
not sure if that maybe is useful? |
Could help, thanks! |
…downs & using chips = expandable select.
@tsteur changed to use chips + added capabilities to add access to all sites + to bulk actions. screenshot: |
Looks good 👍 |
Fixes #13842
Capability editing:
Capability tooltip:
Capability help in form:
filter by capability:
filter by capability in paged users list: