public class GlobalShareTypePermissionChecker extends Object implements ShareTypePermissionChecker
SharedEntity
.Constructor and Description |
---|
GlobalShareTypePermissionChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermission(ApplicationUser user,
SharePermission permission)
All JIRA users are able to see/use globally shared
SharedEntity so this
will always return true, regardless of user passed in. |
public boolean hasPermission(ApplicationUser user, SharePermission permission)
SharedEntity
so this
will always return true, regardless of user passed in.hasPermission
in interface ShareTypePermissionChecker
user
- User is ignored.permission
- Must be a permission for a GlobalShareType
GlobalShareType.TYPE
, else falseCopyright © 2002-2018 Atlassian. All Rights Reserved.