You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mintlify/administration/roles.mdx
+20-19Lines changed: 20 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ Bytebase provides two types of roles:
32
32
-`Project Releaser` - Approve and release changes
33
33
-`SQL Editor User` (formerly `Project Querier`) - Query in SQL Editor; export results directly from the Editor
34
34
-`Project Viewer` - Read-only access
35
+
-`GitOps Service Agent` - Automated CI/CD workflows to create and execute database changes via GitOps
35
36
36
37
#### Custom Roles
37
38
@@ -130,22 +131,22 @@ By default, the first registered user is granted the `Admin` role, all following
130
131
131
132
Any user can create project. By default, the project creator is granted the `Project Owner` role. `Workspace DBA` and `Workspace Admin` assume the `Project Owner` role for all projects.
Bytebase does not define database specific roles. Whether a user can perform certain action to the database is based on the user's Workspace role and the role of the project owning the database.
\*`Project Owner` can change issue status when the current active [Environment Rollout Policy](/change-database/environment-policy/rollout-policy) is set to **Require manual rolling out**.
1. Log in as `Workspace Admin`, and go to **IAM & Admin** > **Users & Groups**. Click **+ Add User**, fill in with `api-sample`, and assign the `Workspace Member` and `GitOps Service Agent` roles, which are sufficient for this tutorial, then click **Confirm**.
2
2
3
-
<CreateServiceAccount />
4
-
5
-
If you have **Enterprise Plan**, you can create a **Custom Role** for the service account which require fewer permissions, and assign this role instead of DBA:
6
-
7
-
- plans.create
8
-
- plans.get
9
-
- plans.preview
10
-
- releases.check
11
-
- releases.create
12
-
- releases.get
13
-
- rollouts.create
14
-
- rollouts.get
15
-
- rollouts.list
16
-
- sheets.create
17
-
- sheets.get
18
-
- taskRuns.create
19
-
- planCheckRuns.list
20
-
- planCheckRuns.run
3
+
1. Find the newly created service account and **Copy Service Key**. We will use this token to authenticate the API calls.
0 commit comments