Skip to content

Commit 2e27edd

Browse files
authored
fix: use correct IAM object admin role (#71)
Post-repo-split port of googleapis/google-cloud-python#10193
1 parent 6c9296c commit 2e27edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/storage/iam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
STORAGE_OBJECT_VIEWER_ROLE = "roles/storage.objectViewer"
2626
"""Role implying rights to view object properties, excluding ACLs."""
2727

28-
STORAGE_OBJECT_ADMIN_ROLE = "roles/storage.objectViewer"
28+
STORAGE_OBJECT_ADMIN_ROLE = "roles/storage.objectAdmin"
2929
"""Role implying full control of objects."""
3030

3131
STORAGE_ADMIN_ROLE = "roles/storage.admin"

0 commit comments

Comments
 (0)