ApprovalRequest.
A request the server raises when the permission check's verdict is propose: the action, its inverse, the verdict and the reason; the turn waits for the client's answer
Figure 1ApprovalRequestspecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- harness
Fields#
| field | type | required | note |
|---|---|---|---|
id | id | yes | |
action | text | yes | |
inverse | text | no | |
verdict | PermissionAnswer | yes | |
reason | text | yes | |
answer | one of allow | deny | allow-for-session | no | |
answered_by | Caller | no |
Routes that use it#
No route takes or returns ApprovalRequest directly. The record holds it, and the objects that point at it reach it.