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).
| Argument | Description |
|---|---|
SPACE | Space 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).
| Argument | Description |
|---|---|
SPACE | Space 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 / Option | Type | Description |
|---|---|---|
RESOURCE_TYPE | argument | Resource type (e.g. product, quality_check, connector) |
ACTION | argument | Action name (e.g. edit, delete, create) |
--resource-id | option (UUID) | Target resource UUID |
--space-id | option (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