Tutorial: Just-in-Time Database Access
Database permission controls individual users’ or groups’ actions within the database. Below shows the built-in roles’ database permissions.
| Role | EXPLAIN | Query | Export | Mutation DML | DDL | Admin |
|---|---|---|---|---|---|---|
| Workspace Admin | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Workspace DBA | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Project Owner | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Project Developer | *1 | *2 | *2 | |||
| SQL Editor User | ✅ | ✅ | ✅ | *3 | *3 | |
| Project Releaser | ||||||
| Project Viewer |
You can also pick out specific permissions to build custom roles. e.g. create a custom role that grants only the
EXPLAIN permission.
| Access Level | Operation | Permission |
|---|---|---|
| Read | EXPLAIN | sql.explain |
| Query | sql.select | |
| Write (subject to execution mode) | Mutation DML | sql.dml |
| DDL | sql.ddl | |
| Admin | Admin | sql.admin |
| Request change for review | Create Issue | issues.create |

