com.atlassian.jira.jql.permission
Interface ClausePermissionChecker

All Known Subinterfaces:
ClausePermissionHandler
All Known Implementing Classes:
CustomFieldClausePermissionChecker, DefaultClausePermissionHandler, FieldClausePermissionChecker, IssueParentPermissionChecker, NoOpClausePermissionChecker, TimeTrackingPermissionChecker, VotePermissionChecker, WatchPermissionChecker

public interface ClausePermissionChecker

Checks to see that the provided user is able to use the clause.

Since:
v4.0

Method Summary
 boolean hasPermissionToUseClause(com.opensymphony.user.User user)
          Checks to see that the provided user is able to use the clause.
 

Method Detail

hasPermissionToUseClause

boolean hasPermissionToUseClause(com.opensymphony.user.User user)
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.

Parameters:
user - to check permissions against.
Returns:
true if the user can use this clause, false otherwise.


Copyright © 2002-2010 Atlassian. All Rights Reserved.