public final class NoOpClausePermissionChecker extends Object implements ClausePermissionChecker
| Modifier and Type | Field and Description |
|---|---|
static NoOpClausePermissionChecker |
NOOP_CLAUSE_PERMISSION_CHECKER |
| 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 searcher,
Set<FieldLayout> fieldLayouts)
Checks to see that the provided user is able to use the clause.
|
public static final NoOpClausePermissionChecker NOOP_CLAUSE_PERMISSION_CHECKER
public boolean hasPermissionToUseClause(ApplicationUser user)
ClausePermissionCheckerhasPermissionToUseClause in interface ClausePermissionCheckeruser - to check permissions against.public boolean hasPermissionToUseClause(ApplicationUser searcher, Set<FieldLayout> fieldLayouts)
ClausePermissionCheckerhasPermissionToUseClause in interface ClausePermissionCheckersearcher - 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-2017 Atlassian. All Rights Reserved.