com.atlassian.jira.jql.permission
Class FieldClausePermissionChecker
java.lang.Object
com.atlassian.jira.jql.permission.FieldClausePermissionChecker
- All Implemented Interfaces:
- ClausePermissionChecker
@NonInjectableComponent
public class FieldClausePermissionChecker
- extends Object
- implements ClausePermissionChecker
A clause permission checker that will check only the users permission to see the field, based on the
configured field configuration schemes.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldClausePermissionChecker
public FieldClausePermissionChecker(Field field,
FieldManager fieldManager)
hasPermissionToUseClause
public boolean hasPermissionToUseClause(User user)
- Description copied from interface:
ClausePermissionChecker
- Checks to see that the provided user is able to use the clause. This may be as simple as determining if the user
has permission to see the field that the clause represents.
- Specified by:
hasPermissionToUseClause
in interface ClausePermissionChecker
- Parameters:
user
- to check permissions against.
- Returns:
- true if the user can use this clause, false otherwise.
Copyright © 2002-2009 Atlassian. All Rights Reserved.