From 2e27edd3fe65cd5e17c12bf11f2b58f611937d61 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Tue, 25 Feb 2020 16:04:29 -0500 Subject: [PATCH] fix: use correct IAM object admin role (#71) 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"