Basic roles and permissions
BigQuery supports IAMbasic roles for project-level access.
Caution: Avoid using basic roles. They predate IAM and grantexcessive and uneven access. Usepredefined IAMroles instead.Basic roles for projects
By default, granting access to a project also grants access to datasets withinit. Default access can be overridden on a per-dataset basis. The following tabledescribes what access is granted to members of the basicIAM roles.
| Basic role | Capabilities |
|---|---|
Viewer |
|
Editor |
|
Owner |
OWNER basic role with theBigQuery Admin (roles/bigquery.admin) IAM role. BigQuery Admin provides a number of permissions that aren't granted by theOWNER basic role. If you're granting project-level access to BigQuery, use IAM roles instead of basic roles. |
Basic roles for projects are granted or revoked through theGoogle Cloud console. When a project is created,theOwner role is granted to the user who created theproject.
For more information about how to grant or revoke access for project roles, seeGranting, changing, and revoking access to resourcesin the IAM documentation.
Basic roles for datasets
The following basic roles apply at the dataset level.
| Dataset role | Capabilities |
|---|---|
READER |
roles/bigquery.dataViewer) predefined IAM role is mapped to theREADER BigQuery basic role. When you grant BigQuery Data Viewer to a principal at the dataset level, the principal is grantedREADER access to the dataset. |
WRITER |
roles/bigquery.dataEditor) predefined IAM role is mapped to theWRITER BigQuery basic role. When you grant BigQuery Data Editor to a principal at the dataset level, the principal is grantedWRITER access to the dataset. |
OWNER | A dataset must have at least one entity with the roles/bigquery.dataOwner) predefined IAM role is mapped to theOWNER BigQuery basic role. When you grant BigQuery Data Owner to a principal at the dataset level, the principal is grantedOWNER access to the dataset. |
For more information on assigning roles at the dataset level, seeControlling access to datasets.
When you create a new dataset, BigQuery adds default dataset access forthe following entities. Roles that you specify on dataset creation overwrite thedefault values.
| Entity | Dataset role |
|---|---|
All users withViewer access to the project | READER |
All users withEditor access to the project | WRITER |
All users withOwner access to the project,and the dataset creator |
Exception: When a user runs a query, ananonymous dataset is created to store the cached results table. Only the user that runs the query is given |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.