Extended Permission Validator

Overview

This Validator evaluates if current user is granted for a Permission.

Available Permissions are provided by ExtendedPermissionScheme. Are included CustomPermissions and Global Permissions

ExtendedPermissionValidator

Edit and View Parameters

It is possible to select one of available Permissions.

ExtendedPermissionValidator Edit



When defined, the Validator will be configured to evaluate if current user is granted for the selected Permission.

ExtendedPermissionValidator View



XML Declaration

The Validator configuration may be done in XML in Worflow descriptor as follow :

<validators>
	<validator type="class">
		<arg name="class.name">com.atlassian.jira.workflow.validator.ExtendedPermissionValidator</arg>
		<arg name="permission">permissionShortName</arg>
	</validator>
</validators>

The permissionShortName's value represent the short name of the selected permission.