public interface

WorkflowPermission

com.atlassian.jira.permission.WorkflowPermission
Known Indirect Subclasses

Class Overview

Represents a single permission granted in the JIRA workflow XML.

Summary

Public Methods
boolean allows(int permission, Issue issue, User user)
Whether this workflow permission allows a permission.
Set getUsers(PermissionContext ctx)
Get users specified by this permission (eg.

Public Methods

public boolean allows (int permission, Issue issue, User user)

Whether this workflow permission allows a permission.

Parameters
permission The requested permission
issue The current issue whose workflow step we consider.
user The user requesting the permission
Returns
  • Whether the workflow grants the permission.

public Set getUsers (PermissionContext ctx)

Get users specified by this permission (eg. group members, or a single user).

Returns