Assign Traversal Spec To User Group Using PUT
Traversal specifications assigned through this API will add the specified traversal specification to a role permission for the ReadOnly role. It will also update the user's existing role permissions with this traversal specification. This API is replaced by the assignRolePermissionToUser
and unassignRolePermissionFromUser
APIs which are PUT and DELETE operations respectively at the /auth/usergroups/{groupId}/permissions
endpoint.Note: mixing current and deprecated APIs is not recommended and may result in undefined behavior.
Identifier of the user group to which the traversal spec needs to be assigned
The traversal specification to assign to the user group
Show optional properties
{
"adapterKind": "string",
"name": "string"
}
{
"adapterKind": "string",
"includedAdapterKinds": [
"string"
],
"name": "string",
"resourceKind": "string",
"resourceSelection": [
{
"resourceId": [
"string"
],
"type": "string"
}
],
"selectAllResources": false
}
The root Adapter kind of the Traversal Specification. Together with resourceKind
and name
these values uniquely identify the traversal specification used by this instance.
The adapter kinds that apply to this traversal specification instance. Only applicable for traversal specification templates with a filter type of ADAPTER_ASSOCIATION. If this is present, then all adapter instances of this kind are selected as part of the hierarchy.
The name of the Traversal Specification. Together with adapterKind
and resourceKind
these values uniquely identify a traversal specification used by this instance.
The root Resource kind of the Traversal Specification. Together with adapterKind
and name
these values uniquely identify a traversal specification used by this instance.
When flag is true system will ignore resource selections and include all resources in the tree defined by the traversal specification templat.
The traversal spec is assigned to the user group successfully