Class UserPermissionValidator
java.lang.Object
com.atlassian.jira.workflow.validator.AbstractPermissionValidator
com.atlassian.jira.workflow.validator.UserPermissionValidator
- All Implemented Interfaces:
com.opensymphony.workflow.Validator
public class UserPermissionValidator
extends AbstractPermissionValidator
implements com.opensymphony.workflow.Validator
Deprecated.
Variant of
PermissionValidator which lets the user specify the name of the field specifying the username.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NULL_ALLOWED_KEY
Deprecated.- See Also:
-
-
Constructor Details
-
UserPermissionValidator
public UserPermissionValidator()Deprecated.
-
-
Method Details
-
validate
public void validate(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.InvalidInputException Deprecated.Looks up a transient var based on a argument passed in. If the transient Var exists then lookup the user with that username and see if they have the permission, also passed in the args.- Specified by:
validatein interfacecom.opensymphony.workflow.Validator- Throws:
com.opensymphony.workflow.InvalidInputException
-
PermissionValidatorinstead. Note this cannot be removed without an upgrade task for existing users.