Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r076dp

D toc

In the

D s platform
Identity and Access Management (IAM) allows you to control user and group access to your project's resources. This section describes the IAM permissions relevant to 
D s product
productgdp
 and the IAM roles that grant those permissions. To access the IAM console, see https://cloud.google.com/iam.

  • A role is a set of one or more permissions. A role is assigned to users and groups.
  • A permission grants access to a resource. Different permissions can grant different access levels to the same resource.

For more information on the service accounts used by 

D s dataflow
 to manage security and permissions while running 
D s product
productgdp
 jobs, see https://cloud.google.com/dataflow/docs/concepts/security-and-permissions#security_and_permissions_for_pipelines_on_google_cloud_platform.

Tools for manage IAM policies:

Required Roles and Their Permissions

To use 

D s product
productgdp
, the following roles are required. Below, you can review each required role, its purpose, and the permissions that are enabled by it.

RoleUsePermissions and roles
dataprep.user

Enables a user to run

D s product
productgdp
in a project

Permissions:

  • dataprep.projects.use
dataprep.serviceAgent

Enables the platform to access and modify datasets and storage and to run and manage

D s dataflow
jobs on behalf of the user within the project

Info

NOTE: When the product is enabled within a project, this role is granted by the project owner as part of the enablement process. For more information, see Enable or Disable Dataprep.

Permissions:

  • storage.buckets.get
  • storage.buckets.list

Roles:

  • roles/dataflow.developer
  • roles/bigquery.user
  • roles/bigquery.dataEditor
  • roles/storage.objectAdmin
  • roles/iam.serviceAccountUser

dataprep.user IAM Role

All users of any version of

D s product
productgdp
must be assigned the dataprep.user IAM Role.

Permissions for
D s product
productgdppr

D s product
productgdppr
 provides additional capabilities for project users. The base set of permissions and some additional permissions are required. Below, you can review the required permissions for this product edition.

General

  • resourcemanager.projects.get

BigQuery

Read and write to BigQuery, including views and custom SQL:

  • bigquery.datasets.get
  • bigquery.jobs.create
  • bigquery.tables.create
  • bigquery.tables.get
  • bigquery.tables.getData
  • bigquery.tables.list

D s dataflow

Run

D s item
itemjobs
on
D s dataflow
:

  • compute.machineTypes.get
  • dataflow.jobs.create
  • dataflow.jobs.get
  • dataflow.messages.list
  • dataflow.metrics.get

D s storage

Read and write to

D s storage
, the base storage for
D s product
:

  • storage.buckets.get
  • storage.buckets.list
  • storage.objects.create
  • storage.objects.delete
  • storage.objects.get
  • storage.objects.list
  • storage.objects.update

Feature Permissions

Additional permissions may be required to use specific features. Individual users may be required to permit 

D s product
 access when the feature is first used. 

D s dataflow
 job cancellation

The following permission enables users to cancel their jobs in progress. It is not required for the product to work but may be helpful to add via IAM roles.

  • dataflow.jobs.cancel

BigQuery publishing options

The following permission is not required to publish to BigQuery.

  • bigquery.tables.delete

However, if the above permission is not granted to a user, that user can drop or truncate table data in BigQuery, only if one of the following permissions must be enabled in a user's account. 

  • The user is granted editor or owner role on the project.
  • The user is granted bigquery.tables.permission for the project.

Google Sheets access

D s ed
rtrue
editionsgdpst, gdppr

  • drive.readonly

For more information, see Import Google Sheets Data.

Additional Permissions for Cloud IAM

In addition to the IAM roles above, users must also be granted the following to enable data access based on their Cloud IAM:

These permissions ensure that users can access the appropriate data within 

D s product
rtrue
.