Enable/Disable Components by User AdminGroup

#1

I’m enabling/disabling components based on a user’s permissions. My current solution is by writing a custom action on page load to check the user’s admin groups then enable/disable the components one by one. Is there a more native way in the framework to do this? It seems to be a lot of work any time I need to add a new component or replicate this on another page.

0 Likes

#2

Nope, no native way in the framework because permissions aren’t applied to components at all.

0 Likes