public class UserShareTypePermissionChecker extends Object implements ShareTypePermissionChecker
Constructor and Description |
---|
UserShareTypePermissionChecker(UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermission(ApplicationUser userToBeChecked,
SharePermission permission)
Checks if specified user is the same as in share permission
|
public UserShareTypePermissionChecker(UserManager userManager)
public boolean hasPermission(@Nullable ApplicationUser userToBeChecked, SharePermission permission)
hasPermission
in interface ShareTypePermissionChecker
userToBeChecked
- the user whose permission should be validated.permission
- the permission to validate against.Copyright © 2002-2023 Atlassian. All Rights Reserved.