Role Transformation Rule
Description
Rule based on regular expression patterns and substitutions used to transform user roles.
May be used by
Properties
Pattern (
pattern) Description
Regular expression pattern of the transformation rule. In each role name all the parts that are matched by the expression are replaced by the template string. Non matched parts are appended as is. Use Matching groups to refer to them in the template.
If no substring of the input matches the expression then an empty role name is returned which effectively deletes it.
Attributes
RegEx
Mandatory
Template (
template) Description
Template expression pattern of the rule. In each role name all the parts that are matched by the expression are replaced by the template string. Non matched parts are appended as is. Refer to the match by $0 and to matching groups by specifying $1, $2, ...
Attributes
String
Mandatory
Example
$1
Example
transformedRole
Example
role-$0
YAML Template (with default values)
type: RoleTransformationRule
id: RoleTransformationRule-xxxxxx
displayName:
comment:
properties:
pattern:
template: