public class GroupShareTypePermissionChecker extends Object implements ShareTypePermissionChecker
SharedEntity
objects that are shared with a group.Constructor and Description |
---|
GroupShareTypePermissionChecker(GroupManager groupManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermission(ApplicationUser user,
SharePermission permission)
Checks to see if user is part of the group specified in the permission
|
public GroupShareTypePermissionChecker(GroupManager groupManager)
public boolean hasPermission(ApplicationUser user, SharePermission permission)
hasPermission
in interface ShareTypePermissionChecker
user
- the user to checkpermission
- The permission containing the groupCopyright © 2002-2023 Atlassian. All Rights Reserved.