- 11 Sep 2023
- 1 Minute to read
- DarkLight
Users
- Updated on 11 Sep 2023
- 1 Minute to read
- DarkLight
Users are granted access to platform components and actions based on their role to which they're assigned. Some common access controls include read/write/execute permission for secrets, integrations, events, workflows, and so on.
For management purposes, Torq exposes high-level roles to which users/groups are assigned, corresponding to typical organizational roles. RBAC is unique to each Torq workspace. This means that if a user exists on multiple workspaces, the role they're assigned to is defined on each workspace.
When creating a user via API, the default role is Viewer .
Roles and scopes
There are four roles in Torq.
Viewer
Permission | Scope |
---|---|
View existing workflows | playbook.get |
List existing workflows | playbook.list |
View activity log data | event.read |
View integration data | integration.read |
Operator
Permission | Scope |
---|---|
View existing workflows | playbook.get |
List existing workflows | playbook.list |
Run workflows | playbook.execute |
View activity log data | event.read |
View integration data | integration.read |
View personal API keys | apikey.read |
Create personal API keys | apikey.write |
Contributor
Permission | Scope |
---|---|
View existing workflows | playbook.get |
List existing workflows | playbook.list |
Run workflows | playbook.execute |
Create workflows | playbook.write |
View activity log data | event.read |
View integration data | integration.read |
Create integrations | integration.write |
View personal API keys | apikey.read |
Create personal API keys | apikey.write |
View workspace members list | user.read |
Owner
Permission | Scope |
---|---|
View existing workflows | playbook.get |
List existing workflows | playbook.list |
Run workflows | playbook.execute |
Create workflows | playbook.write |
View activity log data | event.read |
View integration data | integration.read |
Create integrations | integration.write |
View personal API keys | apikey.read |
Create personal API keys | apikey.write |
View workspace members list | user.read |
Modify user data | user.write |
Create support tickets | support.write |
List audit logs | audit.read |