...
- The "ALLOW" type of permission
- The URI location
- The URI can contain the
*
wildcard character.
- The REST action. Possible actions mirror the REST verbs available at the resource and the special case ANY which is a shortcut for "all vebs":
Examples
Allow To allow a user to view the groups in a zone:
Code Block |
---|
|
{
"type": "ALLOW",
"action": "GET",
"resource": "/zones/18e1f27a-36b5-472f-a03c-6831fb78f97a/groups/*"
} |
For example:
Code Block |
---|
|
GET /zones/18e1f27a-36b5-472f-a03c-6831fb78f97a/groups |
Use the "*" wildcard to allow a user to get groups details in a zone:
Code Block |
---|
|
{
"type": "ALLOW",
"action": "GET",
"resource": "/zones/18e1f27a-36b5-472f-a03c-6831fb78f97a/groups/*"
} |
For example, get the group with UUID ...c13Get the group with UUID 9e463a36-5dd7-4440-8a90-94ce32e06c13 :
Code Block |
---|
|
GET /zones/18e1f27a-36b5-472f-a03c-6831fb78f97a/groups/9e463a36-5dd7-4440-8a90-94ce32e06c13 |
...