# Callback (mutate_role_resolver)

Add user(s) to role or set (override) user(s) in role using processing variables

# Config

mutate_role_resolver:

	config:

		# Required | Type: string | Default: null
		# Role for which are users mutated
		role: "myrole"

		# Required | Type: array | Default: []
		# List of user IDs
		users: {$_process->roles["@creator"][0]->id}

		# Optional | Type: string | Default: override
		# Whether users should be added or override actual users in role
		#
		### Examples
		### - override
		### - add
		mode: "override"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19