Package com.atlassian.jira.permission
Interface WorkflowPermission
- All Known Implementing Classes:
DefaultWorkflowPermission,DenyWorkflowPermission
public interface WorkflowPermission
Represents a single permission granted in the JIRA workflow XML.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallows(ProjectPermissionKey permission, Issue issue, ApplicationUser user) Whether this workflow permission allows a permission.Get users specified by this permission (eg.
-
Method Details
-
getUsers
Get users specified by this permission (eg. group members, or a single user).- Returns:
- A set of
ApplicationUsers.
-
allows
Whether this workflow permission allows a permission.- Parameters:
permission- The requested permissionissue- The current issue whose workflow step we consider.user- The user requesting the permission- Returns:
- Whether the workflow grants the permission.
-