[Setup] Portal actions - link viewable for specific role

Martin Aspeli optilude at gmail.com
Thu Jul 31 16:45:00 UTC 2008




treid wrote:
> 
> Hello
> 
> I have a link in /portal_actions/site_actions/ that should only be
> viewable by a specific role, eg. Editor role.
> 
> Is it the Condition (Expression) that I need to add an expression to? If
> so what would that expression be.
> 
> Otherwise do I achieve this another way?
> 
> Regards
> 

Actions can be protected by permissions. You just pick a permission that the
Editor role happens to have. Checking for roles is never a good idea.

Martin

-- 
View this message in context: http://n2.nabble.com/Portal-actions---link-viewable-for-specific-role-tp662514p662690.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list