Skip to content
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

Highlight modules with permissions set inside a role #4241

Closed
wp-perc opened this issue Oct 22, 2020 · 0 comments · Fixed by #4345
Closed

Highlight modules with permissions set inside a role #4241

wp-perc opened this issue Oct 22, 2020 · 0 comments · Fixed by #4345
Assignees
Labels
area/authentication Affects user authentication or authorization area/ui Affects the user interface enhancement New feature or improvement
Milestone

Comments

@wp-perc
Copy link

wp-perc commented Oct 22, 2020

When I want to review what permissions a role has, I have to expand all modules inside the role itself.
Highlighting the name of a module that has one or more permissions set will help in understanding where I have to look.

I figured some methods to do the highlighting:

  1. Write the name of a module with one or more permissions set with another color or with a symbol on the right

  2. To the right of the name of a module with one or more permissions, add the number of permissions set (and of course don't add anything if nothing is set)

  3. To the right of the name of a module with one or more permissions set, add some symbols:
    a red exclamation mark if Full Module Access (or equivalent) is selected
    an ok mark if General Module Access (or equivalent) is selected
    the count of all the remaining permissions set

This way I can also compress every module and I can still have an overview of where people with that role can go.

Example a.
image

Example b.
image

Example c.
image

Original (unmodified, only here for reference)
image

@nilmerg nilmerg added area/configuration Affects the configuration enhancement New feature or improvement queue/wishlist Probable candidate for a future release labels Oct 22, 2020
@nilmerg nilmerg added area/ui Affects the user interface and removed area/configuration Affects the configuration labels Oct 22, 2020
@wp-perc wp-perc changed the title Highlight moduls with permissions set inside a role Highlight modules with permissions set inside a role Oct 22, 2020
@nilmerg nilmerg added area/authentication Affects user authentication or authorization and removed queue/wishlist Probable candidate for a future release labels Jan 25, 2021
@nilmerg nilmerg self-assigned this Jan 25, 2021
@nilmerg nilmerg added this to the 2.9.0 milestone Jan 25, 2021
nilmerg added a commit that referenced this issue Apr 8, 2021
nilmerg added a commit that referenced this issue Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/authentication Affects user authentication or authorization area/ui Affects the user interface enhancement New feature or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants