Database Permission

This feature is available in Enterprise Plan.

Database permission controls individual users' or groups' actions within the database. Below shows the built-in roles' database permissions.

RoleEXPLAINQueryExportMutation DMLDDLAdmin
Workspace Adminβœ…βœ…βœ…βœ…βœ…βœ…
Workspace DBAβœ…βœ…βœ…βœ…βœ…βœ…
Project Ownerβœ…βœ…βœ…βœ…βœ…
Project Developer**
Project Querierβœ…βœ…
Project Exporterβœ…
Project Releaser
Project Viewer

* Project Developers can't execute DML and DDL directly in SQL Editor. On the other hand, they can request DML/DDL change by creating an issue.


You can also pick out specific permissions to build custom roles. e.g. create a custom role that grants only the EXPLAIN permission.

Access LevelOperationPermission
ReadEXPLAINdatabases.queryExplain
Querydatabases.query
Exportdatabases.export
Write (subject to execution mode)Mutation DMLdatabases.queryDML
DDLdatabases.queryDDL
Request change for reviewCreate Issueissues.create
AdminAdmininstances.adminExecute
Edit this page on GitHub

Subscribe toΒ Newsletter

By subscribing, you agree with Bytebase's Terms of Service and Privacy Policy.