public interface ShareTypePermissionChecker
SharedEntity
shared by the associated ShareType.Modifier and Type | Method and Description |
---|---|
boolean |
hasPermission(ApplicationUser user,
SharePermission permission)
Checks if the passed user is given rights by the ShareType to user/view a
SharedEntity with the passed
permission. |
boolean hasPermission(ApplicationUser user, SharePermission permission)
SharedEntity
with the passed
permission.user
- the user whose permission should be validated.permission
- the permission to validate against.Copyright © 2002-2018 Atlassian. All Rights Reserved.