Skip to content

Commit 10d3a60

Browse files
authored
fix: use correct IAM object admin role (#71)
Post-repo-split port of #10193
1 parent 5448edb commit 10d3a60

File tree

1 file changed

+1
-1
lines changed
  • packages/google-cloud-storage/google/cloud/storage

1 file changed

+1
-1
lines changed

packages/google-cloud-storage/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)