Replies: 2 comments
-
What happens if a user is in more than one usergroup? |
Beta Was this translation helpful? Give feedback.
-
Hi @brianteeman, it should check "if in the User Group" by checking from the highest level for each chain of parents User Groups. So:
For example, I have two chains of parents User Groups:
Results Examples:
|
Beta Was this translation helpful? Give feedback.
-
Hi guys,
to have add a Page Class depending on the User (Guest or Logged) User Group and following the the parents scheme would be too useful for example for styling the layouts, hiding fields, disable buttons {pointer-events: none;} etc.
One more big weapon for User Group, ACL and Permissions features.
I'm not a real developer, but the solution could be quite simple by adding a "Class" filed into the User Group Details (or directly by using the User Group Title) to use as as Page Class name to add.
Approximately something like (sorry for all the mistakes):
Beta Was this translation helpful? Give feedback.
All reactions