From 0f9c629034e995fb5e06fe9988511cf31c66fa05 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Tue, 25 Feb 2020 15:13:49 -0500 Subject: [PATCH] fix: use correct IAM object admin role Post-repo-split port of https://github.com/googleapis/google-cloud-python/pull/10193 --- google/cloud/storage/iam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cloud/storage/iam.py b/google/cloud/storage/iam.py index fb7e9e4ed..36c7412b8 100644 --- a/google/cloud/storage/iam.py +++ b/google/cloud/storage/iam.py @@ -25,7 +25,7 @@ STORAGE_OBJECT_VIEWER_ROLE = "roles/storage.objectViewer" """Role implying rights to view object properties, excluding ACLs.""" -STORAGE_OBJECT_ADMIN_ROLE = "roles/storage.objectViewer" +STORAGE_OBJECT_ADMIN_ROLE = "roles/storage.objectAdmin" """Role implying full control of objects.""" STORAGE_ADMIN_ROLE = "roles/storage.admin"