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 determine if a given node is visible to the public?SolvedWhy do PageScripts changes require a Community Restart?Looking for a Consultant for quick remote helpSubscriptions to a label?SolvedIs it possible to fetch custom fields in Bulk Data API