public class StatusCategoryPermissionChecker extends Object implements ClausePermissionChecker
Constructor and Description |
---|
StatusCategoryPermissionChecker(StatusCategoryManager statusCategoryManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermissionToUseClause(ApplicationUser user)
Checks to see that the provided user is able to use the clause.
|
boolean |
hasPermissionToUseClause(ApplicationUser user,
Set<FieldLayout> fieldLayouts)
Checks to see that the provided user is able to use the clause.
|
public StatusCategoryPermissionChecker(StatusCategoryManager statusCategoryManager)
public boolean hasPermissionToUseClause(ApplicationUser user)
ClausePermissionChecker
hasPermissionToUseClause
in interface ClausePermissionChecker
user
- to check permissions against.public boolean hasPermissionToUseClause(ApplicationUser user, Set<FieldLayout> fieldLayouts)
ClausePermissionChecker
hasPermissionToUseClause
in interface ClausePermissionChecker
user
- to check permissions against.fieldLayouts
- The field Layouts available to the given user (value of com.atlassian.jira.issue.fields.FieldManager#getVisibleFieldLayouts(User)
.Copyright © 2002-2023 Atlassian. All Rights Reserved.