User Roles Changed
Description
Event that is published when user roles are changed in the Adminapp.
The event data contains the string lists event.data.oldRoles and event.data.newRoles (all the user's roles after the change), as well as (for convenience) event.data.addedRoles and event.data.removedRoles.
May be used by
Properties
Role Pattern (
rolePattern) Description
A pattern for matching the changed roles. The event is only handled if at least one of the changed roles (added or removed) matches the pattern.
Attributes
RegEx
Optional
Default value
.*
Handle Added Roles (
handleAddedRoles) Description
If enabled, events that involve at least one added role (matching the pattern above) will be handled.
Attributes
Boolean
Optional
Default value
true
Handle Removed Roles (
handleRemovedRoles) Description
If enabled, events that involve at least one removed role (matching the pattern above) will be handled.
Attributes
Boolean
Optional
Default value
true
YAML Template (with default values)
type: UserRolesChangedSubscribedEvent
id: UserRolesChangedSubscribedEvent-xxxxxx
displayName:
comment:
properties:
handleAddedRoles: true
handleRemovedRoles: true
rolePattern: .*