Reference · Reference
Permissions and scopes
Every scope a token can hold, which roles can grant it, and what is never available to a token.
Scopes
| Scope | Name | Gives | Risk |
|---|---|---|---|
resource.read | Read resources and requests | List and read projects, resources and the status of requests. | low |
resource.write | Make requests | Ask for services to be created or changed, and cancel requests that have not started. Requests still wait for approval. | medium |
resource.destroy | Make destructive requests | Ask for resources to be deleted. | high |
project.write | Create projects | Create projects in the organisation. | medium |
billing.read | Read usage and invoices | Read usage and invoices. Cannot change a plan or a payment method. | low |
audit.read | Read the audit log | Read every audit event of the organisation. | medium |
Choose scopes when you create a token, and change them later with Edit. You can narrow a token's scopes freely. You can add a scope only if you hold it yourself.
Who can give what
A person can give a token a scope only if their own role holds that permission, and the token never has more than its creator's role allows now. Only owners and administrators can create tokens at all.
| Scope | owner | administrator | Developer or operator | Billing administrator | Read-only viewer |
|---|---|---|---|---|---|
resource.read | Yes | Yes | Yes | No | Yes |
resource.write | Yes | Yes | Yes | No | No |
resource.destroy | Yes | Yes | No | No | No |
project.write | Yes | Yes | Yes | No | No |
billing.read | Yes | Yes | No | Yes | No |
audit.read | Yes | Yes | No | No | No |
What a token can never do
- Manage members or roles.
- Change the plan, payment details or invoices (it can read usage and invoices with
billing.read). - Close or reopen the organisation, or export its data.
- Create, edit, roll or revoke tokens, so a leaked token cannot mint more.
- Act as Colossium staff.
These are not switched off for tokens. They do not exist as scopes. A token cannot be given them, whoever creates it.
Granted and effective
/token/verify returns both. granted_scopes is what was given. scopes is what works right now, which is the granted scopes limited to your creator's current role. If they differ, someone's role has changed.
This page as MarkdownReport a problem with this pageOlympus Group Holdings, Inc.