Class YellowpagesActionAccessController
java.lang.Object
org.silverpeas.components.yellowpages.servlets.YellowpagesActionAccessController
- Author:
- ebonnet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasRightAccess(String action, org.silverpeas.core.admin.user.model.SilverpeasRole role) Check if user role has access right to the given action
-
Constructor Details
-
YellowpagesActionAccessController
public YellowpagesActionAccessController()
-
-
Method Details
-
hasRightAccess
public boolean hasRightAccess(String action, org.silverpeas.core.admin.user.model.SilverpeasRole role) Check if user role has access right to the given action- Parameters:
action- the checked actionrole- the highest user role- Returns:
- true if given role has access right to the action
-