public class DenyWorkflowPermission extends Object implements WorkflowPermission
Constructor and Description |
---|
DenyWorkflowPermission(ProjectPermissionKey projectPermissionKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user)
Whether this workflow permission allows a permission.
|
Set<ApplicationUser> |
getUsers(PermissionContext ctx)
Get users specified by this permission (eg.
|
String |
toString() |
public DenyWorkflowPermission(ProjectPermissionKey projectPermissionKey)
public Set<ApplicationUser> getUsers(PermissionContext ctx)
WorkflowPermission
getUsers
in interface WorkflowPermission
ApplicationUser
s.public boolean allows(ProjectPermissionKey permission, Issue issue, ApplicationUser user)
WorkflowPermission
allows
in interface WorkflowPermission
permission
- The requested permissionissue
- The current issue whose workflow step we consider.user
- The user requesting the permissionCopyright © 2002-2019 Atlassian. All Rights Reserved.