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 DiscussionsHow to create/subscribe the Webhook in AuroraHelp identifying XML fields for message attributes in Khoros data exportHelp identifying XML fields for message attributes in Khoros data exportWhich entity to refer for knowing user to badge mapping in XML data dumpHow to parse <li-answer> <li-table> custom li tags into raw html