Package com.atlassian.jira.permission
Class DenyWorkflowPermission
java.lang.Object
com.atlassian.jira.permission.DenyWorkflowPermission
- All Implemented Interfaces:
WorkflowPermission
Denies the permission for everyone.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
allows
(ProjectPermissionKey permission, Issue issue, ApplicationUser user) Whether this workflow permission allows a permission.Get users specified by this permission (eg.toString()
-
Constructor Details
-
DenyWorkflowPermission
-
-
Method Details
-
getUsers
Description copied from interface:WorkflowPermission
Get users specified by this permission (eg. group members, or a single user).- Specified by:
getUsers
in interfaceWorkflowPermission
- Returns:
- A set of
ApplicationUser
s.
-
allows
Description copied from interface:WorkflowPermission
Whether this workflow permission allows a permission.- Specified by:
allows
in interfaceWorkflowPermission
- 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.
-
toString
-