Package org.exoplatform.task.integration
Class ProjectGroupVisibilityPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.portal.config.GroupVisibilityPlugin
org.exoplatform.task.integration.ProjectGroupVisibilityPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class ProjectGroupVisibilityPlugin
extends org.exoplatform.portal.config.GroupVisibilityPlugin
The user can see a group only when:
* the given user is the super user
* the given user is a platform administrator
* the given user is a manager of the group
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(org.exoplatform.services.security.Identity userIdentity, org.exoplatform.services.organization.Group group) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
ProjectGroupVisibilityPlugin
public ProjectGroupVisibilityPlugin(org.exoplatform.portal.config.UserACL userACL)
-
-
Method Details
-
hasPermission
public boolean hasPermission(org.exoplatform.services.security.Identity userIdentity, org.exoplatform.services.organization.Group group) - Specified by:
hasPermissionin classorg.exoplatform.portal.config.GroupVisibilityPlugin
-