Missing Permission
missing-permission
| Type URI | https://docs.panquest.com/qfx/problems/missing-permission |
|---|---|
| Status | 403 Forbidden |
| Title | Missing Permission |
| Members of its own | requiredPermission |
| Belgif REST guide | urn:problem-type:belgif:missingPermission |
When
The access token is valid, but no permission of the caller's roles grants the action on the resource. requiredPermission names the resource and the action a permission would have to grant.
What to do
Ask an administrator for a role whose permissions grant the action named in requiredPermission. Sending the request again does not help until then.
Example
HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
Content-Language: en
{
"type": "https://docs.panquest.com/qfx/problems/missing-permission",
"title": "Missing Permission",
"status": 403,
"detail": "No permission of your roles grants this action on this resource.",
"instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f",
"parameters": {
"collection-name": "INVOICES",
"document-id": "B6E604029DA47343E5879E3C317FCC36E0E212CB"
},
"requiredPermission": {
"resource": "document:INVOICES/*",
"action": "retrieve"
}
}