Class KmeliaActionAccessController


  • @Singleton
    public class KmeliaActionAccessController
    extends Object
    Author:
    ebonnet
    • Constructor Detail

      • KmeliaActionAccessController

        public KmeliaActionAccessController()
    • Method Detail

      • 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 action
        role - the highest user role
        Returns:
        true if given role has access right to the action