role-permission
role-permission
Represents role based permissions to objects. The role's privileges will apply to all of the objects identified by the traversal specification. Optionally permission can be flagged to allow all objects ignoring traversal specifications.
JSON Example
{
"allowAllObjects": false,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"roleName": "string",
"traversal-spec-instances": [
{
"adapterKind": "string",
"includedAdapterKinds": [
"string"
],
"name": "string",
"resourceKind": "string",
"resourceSelection": [
{
"resourceId": [
"string"
],
"type": "string"
}
],
"selectAllResources": false
}
]
}
boolean
allowAllObjects
Optional
If true then ignore traversal specifications and allow all objects
string
roleName
Required
The role name.
array of traversal-spec-instance
traversal-spec-instances
Optional
Collection of traversal specification instances
Parameter To