Skip to content

Commit

Permalink
change structure
Browse files Browse the repository at this point in the history
Create separate org and project sections with subsections
for roles and permissions in each.
  • Loading branch information
staceysalamon-aiven committed Nov 1, 2024
1 parent 3c4d899 commit 5a0700d
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions docs/platform/concepts/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ Permissions are not yet fully supported in the Aiven Console. They are intended
use with the Aiven API, Aiven Provider for Terraform, and Aiven Operator for Kubernetes.
:::

## Organization roles
## Organization roles and permissions

You can grant the following roles to principals at the organization level. The permissions
for each role apply to the organization and all units, projects, and services within it.
You can grant the following roles and permissions to principals at the organization level.
Roles and permissions at this level apply to the organization and all units, projects,
and services within it.

### Organization roles

| Console name | API name | Permissions |
| ------------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Admin | `role:organization:admin` | <ul> <li> Full access to the organization. </li> <li> View and change billing information. </li> <li> Change the authentication policy. </li> <li> Invite, deactivate, and remove organization users. </li> <li> Create, edit, and delete groups. </li> <li> Create and delete application users and their tokens. </li> <li> Add and remove domains. </li> <li> Add, enable, disable, and remove identity providers. </li> </ul> |
| Organization member | `role:organization:member` | Non-managed users can: <ul> <li> Edit their profiles. </li> <li> Create organizations. </li> <li> Leave organizations. </li> <li> Add [allowed authentication methods](/docs/platform/howto/set-authentication-policies). </li> <li> Generate and revoke personal tokens, if allowed by the [authentication policy](/docs/platform/howto/set-authentication-policies). </li> <li> Enable and disable feature previews. </li> </ul> This is the default role assigned to all organization users. |

## Organization permissions
| Organization member | `role:organization:member` | The default role assigned to all organization users. <br/> <br/> Non-managed users can: <ul> <li> Edit their profiles. </li> <li> Create organizations. </li> <li> Leave organizations. </li> <li> Add [allowed authentication methods](/docs/platform/howto/set-authentication-policies). </li> <li> Generate and revoke personal tokens, if allowed by the [authentication policy](/docs/platform/howto/set-authentication-policies). </li> <li> Enable and disable feature previews. </li> </ul> |

You can grant the following permissions to principals. The actions listed for each
permission apply to the organization and all units, projects, and services within it.
### Organization permissions

| Console name | API name | Allowed actions |
| ------------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand All @@ -52,10 +52,11 @@ permission apply to the organization and all units, projects, and services withi
| Manage projects | `organization:projects:write` | <ul> <li> Create and delete projects. </li> <li> Change the billing group the project is assigned to. </li> <li> Move a project to another organization or unit. </li> <li> Add and remove project tags. </li> </ul> No access to other project settings or services. |


## Project roles
## Project roles and permissions
You can grant the following permissions to principals. Roles and permissions granted at
this level apply to the project and all services within it.

You can grant the following roles for projects to principals. The permissions for each
role apply to the project and all services within it.
### Project roles

| Console name | API name | Permissions |
| ------------ | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand All @@ -64,13 +65,7 @@ role apply to the project and all services within it.
| Operator | `operator` | <ul> <li> View project audit log. </li> <li> View project permissions. </li> <li> Full access to all services in the project and their configuration. </li> </ul> |
| Read only | `read_only` | <ul> <li> View all services and their configuration. </li> </ul> |

Project admin do not have access to organization settings such as billing unless
they are also a [super admin](/docs/platform/howto/make-super-admin).

## Project and service permissions

You can grant the following permissions to principals. The actions listed for each
permission apply to the project and all services within it.
### Project permissions

| Console name | API name | Allowed actions |
| ------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------- |
Expand Down

0 comments on commit 5a0700d

Please sign in to comment.