myEffectivePermissions
query · in the family Your own session
What it does
Your own access at the organization you are acting in — every operation and whether your roles allow it, and why.
Your own effective permissions at the organization you are acting in — the same evaluator and the same answer shape as effectivePermissions (roles · operations over the whole registry), computed over the session's own user and acting organization (no arguments). Self on the user plane — every principal keeps it (an API key or a collaborator has no own user → AUTHZ/FORBIDDEN, never a synthetic answer); the office's lens read, so every reader's course narrows to what their role can run.
Before you call
A signed-in user’s session — the call refuses an API key (AUTHZ/FORBIDDEN).
Capability area: Your own session — What every signed-in person may do for themselves — their session, their profile and their own work.
Roles that may call it:
- Owner
- System Administrator
- Manager
- Associate Manager
- Warehouse Associate
- Sales Associate
- Cashier
What happens
Read-only; your own alone.
Returns
EffectivePermissions EffectivePermissions! — The verification mechanism: (user, org) → the full effective-permission map + which role contributed each descriptor, computed by the same evaluator the future gate uses (preview ≡ enforcement — no second mechanism, no drift). Evaluates descriptors only: it does NOT compose the account-capability / dark-org / user-lifecycle gates.
Example request
query ExampleMyEffectivePermissions {
myEffectivePermissions {
authorityTier
}
}Example response
{
"data": {
"myEffectivePermissions": {
"authorityTier": "<authority tier>"
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)