Manage User Roles node
The Manage User Roles node allows adding or removing IO roles to the assigned user.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
User binding configurations
This section allows you to configure how the user is bound to the session.
Username
You can bind the user either by username or by a specific attribute. The corresponding value must be specified (e.g. {{form.username}}).
An additional Ignore case option is available.
You can also configure whether the operation is allowed for non-admin users by enabling the dedicated flag.
Assign roles
It is possible to:
- Assign Roles to a user: Choose from the dropdown the Roles to be assigned, granting specific permissions or access rights.
- Remove Roles: Choose from the dropdown the Roles to be removed, revoking permissions when they are no longer needed.
Default output node
- Success
- Not Authorised
- User not found
- Failure
JSON metadata
{
"name": "set_roles_v2",
"active": true,
"bundleName": "am-users-nodes",
"bundleVersion": "1.0",
"nodeName": "SetRolesV2",
"category": "user_role_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Manage User Roles"
}, {
"lang": "it",
"value": "Manage User Roles"
}
],
"index": 18,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "NotAuthorized",
"level": "warning"
}, {
"name": "UserNotFound",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}