diptikaushikkarGuide6 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-MBoss6 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 DiscussionsDashboard Data Not Matching Reports — Need HelpHow to determine if a given node is visible to the public?SolvedRegarding O2 Community Forum RegistrationWhy do PageScripts changes require a Community Restart?PageScript Changes Not Reflecting Without Restart in Aurora