com.atlassian.jira.sharing.type
Class GroupShareTypePermissionChecker
java.lang.Object
com.atlassian.jira.sharing.type.GroupShareTypePermissionChecker
- All Implemented Interfaces:
- ShareTypePermissionChecker
public class GroupShareTypePermissionChecker
- extends Object
- implements ShareTypePermissionChecker
Permissions Checker for SharedEntity
objects that are shared with a group.
- Since:
- v3.13
Method Summary |
boolean |
hasPermission(com.atlassian.crowd.embedded.api.User user,
SharePermission permission)
Checks to see if user is part of the group specified in the permission |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupShareTypePermissionChecker
public GroupShareTypePermissionChecker(GroupManager groupManager)
hasPermission
public boolean hasPermission(com.atlassian.crowd.embedded.api.User user,
SharePermission permission)
- Checks to see if user is part of the group specified in the permission
- Specified by:
hasPermission
in interface ShareTypePermissionChecker
- Parameters:
user
- the user to checkpermission
- The permission containing the group
- Returns:
- true if user is part of group, else false.
Copyright © 2002-2012 Atlassian. All Rights Reserved.