public class AuthenticatedUserShareTypePermissionChecker extends Object implements ShareTypePermissionChecker
SharedEntity
.Constructor and Description |
---|
AuthenticatedUserShareTypePermissionChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermission(ApplicationUser user,
SharePermission permission)
All JIRA authenticated users are able to see/use shared
SharedEntity so this
will always return true, if the user is not null. |
public AuthenticatedUserShareTypePermissionChecker()
public boolean hasPermission(ApplicationUser user, SharePermission permission)
SharedEntity
so this
will always return true, if the user is not null.hasPermission
in interface ShareTypePermissionChecker
user
- The user to check.permission
- Must be a permission for a AuthenticatedUserShareType
Copyright © 2002-2023 Atlassian. All Rights Reserved.