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.
since 3.5.2 use PermissionValidator instead. Note this cannot be removed without an upgrade task for existing users.
Variant of PermissionValidator which lets the user specify the name of the field specifying the username.
  • Field Details

  • 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:
      validate in interface com.opensymphony.workflow.Validator
      Throws:
      com.opensymphony.workflow.InvalidInputException