ES Admin

GET current user's Q2P permissions

Returns whether the calling user has each requested Q2P permission. Permissions are resolved from the user's JWT groups claim — no Auth0 round-trip. Unknown permission names always return false. This is a temporary shim; it will be replaced by AuthZed once Q2P permissions are in the SpiceDB schema.

get/es-admin/user/permissions

Request

  • Base URL: https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.equipmentshare.com/es-admin/user/permissions
  • Auth: HTTP bearer

Query parameters

namesstring required

Comma-separated list of Q2P permission names to check

Response

Map of permission names to boolean.

Changes

No recorded changes to this operation across all 1 revision of this API.