diptikaushikkarGuide5 years agohow to customize custom component based on role ? What is the best way to customize a custom component to be visible to only some users with some specific roles ??
Malcolm-MBoss5 years agoSomething like this should work:<#list restadmin("/users/id/${user.id?c}/roles").roles.role as role><#if role.name?? && (role.name == "Administrator")>
Recent DiscussionsHow to determine if a given node is visible to the public?SolvedSubscriptions to a label?SolvedWhat Does It Take to Develop a High-Performance Candy AI Clone?liqlAdmin in khoros aurora graphql APISolvedHow to do session key authentication with GraphQLSolved