role-permission

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

array of link
links
Optional

links

string
roleName
Required

The role name.

traversal-spec-instances
Optional

Collection of traversal specification instances