Gravitee Authorization Policy
Playground
Examples:
— custom —
Policies
permit(principal, action, resource) when { resource.public == true };
Entities
[ { "uid": { "type": "User", "id": "alice" }, "attrs": {}, "parents": [] }, { "uid": { "type": "Doc", "id": "readme" }, "attrs": { "public": true }, "parents": [] } ]
Schema
Request
principal
action
resource
context
{}
Authorize
Partial
Batch
Validate
Response