Skip to main content

Permissions

The permissions group lets you inspect your own roles and permissions within the platform. This is useful for verifying access before performing sensitive operations or for debugging authorization issues.

Commands

qarion permissions role SPACE

Show your role in a space (e.g. Admin, Editor, Viewer).

ArgumentDescription
SPACESpace slug
qarion permissions role acme

Output fields: Role


qarion permissions governance-roles SPACE

List the governance roles you hold on specific products within a space (e.g. Owner, Steward).

ArgumentDescription
SPACESpace slug
qarion permissions governance-roles acme

Output columns: Role, Product, ID


qarion permissions check RESOURCE_TYPE ACTION

Check whether you can perform a specific action on a resource type. Optionally pass a --resource-id for existing resources or --space-id for create-type actions.

Argument / OptionTypeDescription
RESOURCE_TYPEargumentResource type (e.g. product, quality_check, connector)
ACTIONargumentAction name (e.g. edit, delete, create)
--resource-idoption (UUID)Target resource UUID
--space-idoption (UUID)Space UUID (for create actions)
qarion permissions check product edit --resource-id 550e8400-...
qarion permissions check quality_check create --space-id 550e8400-...

Output fields: Allowed, Reason