public class

UserPermissionValidator

extends AbstractPermissionValidator
implements Validator
java.lang.Object
   ↳ com.atlassian.jira.workflow.validator.AbstractPermissionValidator
     ↳ com.atlassian.jira.workflow.validator.UserPermissionValidator

This class is deprecated.
since 3.5.2 use PermissionValidator instead. Note this cannot be removed without an upgrade task for existing users.

Class Overview

Variant of PermissionValidator which lets the user specify the name of the field specifying the username.

Summary

Constants
String NULL_ALLOWED_KEY
Public Constructors
UserPermissionValidator()
Public Methods
void validate(Map transientVars, Map args, PropertySet ps)
Looks up a transient var based on a argument passed in.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.opensymphony.workflow.Validator

Constants

public static final String NULL_ALLOWED_KEY

Constant Value: "nullallowed"

Public Constructors

public UserPermissionValidator ()

Public Methods

public void validate (Map transientVars, Map args, PropertySet ps)

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.

Throws
InvalidInputException