From 6a3e29bbd0b1841a0aae0280ce3e152038671af9 Mon Sep 17 00:00:00 2001 From: Stacey Salamon Date: Fri, 1 Nov 2024 15:03:34 +0100 Subject: [PATCH] update: add new project-level permissions --- docs/platform/concepts/permissions.md | 6 ++++ .../reference/project-member-privileges.md | 36 ------------------- static/_redirects | 1 + 3 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 docs/platform/reference/project-member-privileges.md diff --git a/docs/platform/concepts/permissions.md b/docs/platform/concepts/permissions.md index 7b3d81f5f..8eb576069 100644 --- a/docs/platform/concepts/permissions.md +++ b/docs/platform/concepts/permissions.md @@ -30,6 +30,8 @@ You can grant the following roles for projects to principals. | Developer | `developer` | | | Operator | `operator` | | | Read only | `read_only` | | +| Maintain services | `role:services:maintenance` | | +| Recover services | `role:services:recover` | | 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). @@ -53,5 +55,9 @@ permission apply to the project and all services within it. | Manage project networking | `project:networking:write` | | | View project permissions | `project:permissions:read` | | | View services | `project:services:read` | | +| Manage services | `project:services:write` | | | Manage service configuration | `service:configuration:write` | | +| Access data | `service:data:write` | | | View service logs | `service:logs:read` | **Service logs may contain sensitive information.** | +| View configuration secrets | `service:secrets:read` | | +| Manage service users | `service:users:write` | | diff --git a/docs/platform/reference/project-member-privileges.md b/docs/platform/reference/project-member-privileges.md deleted file mode 100644 index 009292a6c..000000000 --- a/docs/platform/reference/project-member-privileges.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: Project roles and permissions -sidebar_label: Project member roles ---- - -When you add users to a project individually or as part of a [group](/docs/platform/howto/manage-groups) you also assign them a role for that project. - -| Role | View services | Create services | Manage services | Connect | Power services on/off | Edit permissions | -| ----------------- | ------------- | --------------- | --------------- | ------- | --------------------- | ---------------------- | -| **Administrator** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | -| **Operator** | ✅ | ✅ | ✅ | ✅ | ✅ | | -| **Developer** | ✅ | | ✅ | ✅ | | | -| **Read Only** | ✅ | | | | | | - -- **Admin**: Full access to the project and its services. - - Every project has at least one admin user. This role is automatically granted to - users who create a project. - - Does not have access to organization settings such as billing unless they are also - a [super admin](/docs/platform/howto/make-super-admin). - - Can add users and groups to the project. - - Can remove users and groups from the project. - -- **Operator**: Full access to all services in the project. - - Can create new services. - - Cannot make changes to the users, groups, or permissions for a project. -- **Developer**: Allowed to manage services in this project. - - Can make changes to services and databases, for example: - creating databases, connecting to databases, removing Aiven for - OpenSearch® indexes, creating and modifying Aiven for Apache - Kafka® topics, and creating and modifying Aiven for PostgreSQL® - connection pools. - - Can create and change service database users. - - Cannot make changes to the project users, groups, or permissions. - - Cannot make changes that affect billing, such as powering services on or off. -- **Read-only**: Only allowed to view services. - - Cannot make any changes to the project or its services. diff --git a/static/_redirects b/static/_redirects index bee695cda..6e22ddd87 100644 --- a/static/_redirects +++ b/static/_redirects @@ -77,6 +77,7 @@ /platform/howto/update-tax-status https://aiven.io/docs/platform/concepts/tax-information /platform/ip-addresses https://aiven.io/docs/platform/reference/service-ip-address /platform/privatelink https://aiven.io/docs/platform/howto/use-aws-privatelinks +/platform/reference/project-member-privileges https://aiven.io/docs/platform/concepts/permissions /platform/vpc https://aiven.io/docs/platform/howto/manage-vpc-peering /products/caching/concepts https://aiven.io/docs/docs/products/caching/concepts/high-availability-redis /products/caching/concepts/overview https://aiven.io/docs/products/caching