From 0790cfb6566d302f1f2e59a7e8a178e2bc0e7bc1 Mon Sep 17 00:00:00 2001 From: Matthew Suozzo Date: Thu, 23 Jan 2020 21:53:41 -0500 Subject: [PATCH] Fix incorrect IAM admin role constant --- storage/google/cloud/storage/iam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/google/cloud/storage/iam.py b/storage/google/cloud/storage/iam.py index fb7e9e4ede3a..36c7412b842a 100644 --- a/storage/google/cloud/storage/iam.py +++ b/storage/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"