How to manage users in multiple roles?

Created on 13 February 2017, almost 8 years ago
Updated 2 September 2024, 4 months ago

Hi,
for example: I'm member of the roles "administrator" and "editor". I have done this definition:

[X] Apply config for Guest 
[X] Apply config for Authenticated User 
[X] Apply config for Editor 
[  ] Apply config for Administrator

In the section "HIDDED VERTICAL TABS", almost all tabs are checked = hidden.
The result: I see the reduced set of tabs (= "editor").
My expected behavior: I would like to see all tabs (= "administrator").

My suggestion:

Run through as an "administrator":
[X] Apply config for Guest
-> current user is not a guest -> skip this
[X] Apply config for Authenticated User
-> current user is an authenticated user -> checkbox set = apply = hide tabs like defined below
[X] Apply config for Editor
-> current user is member of role "editor" -> checkbox set = apply = hide tabs like defined below
[ ] Apply config for Administrator
-> current user is member of role "administrator" -> checkbox not set = don't apply = don't hide any tabs
The result of the last valid role membership wins: no tabs are hidden. OK.

Run through as an "editor":
[X] Apply config for Guest
-> current user is not a guest -> skip this
[X] Apply config for Authenticated User
-> current user is an authenticated user -> checkbox set = apply = hide tabs like defined below
[X] Apply config for Editor
-> current user is member of role "editor" -> checkbox set = apply = hide tabs like defined below
[ ] Apply config for Administrator
-> current user is not an administrator -> skip this
The result of the last valid role membership wins: tabs are hidden as defined. OK

The normal use case for this module is in my opinion to hide vertical tabs for "lower" roles. The higher the role, the more tabs are shown.
What do you mean?

Regards,
Oliver

💬 Support request
Status

Active

Version

2.0

Component

User interface

Created by

🇩🇪Germany oschuetze

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024