Skip to content

Commit

Permalink
roles: remove backup user:* bindings for organization.admin
Browse files Browse the repository at this point in the history
  • Loading branch information
spiffxp committed Mar 3, 2021
1 parent 3aab780 commit 4e5eeed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions infra/gcp/ensure-organization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,10 @@ color 6 "Ensuring organization IAM bindings exist"

color 6 "Ensuring removed organization IAM bindings do not exist"
(
# TODO(spiffxp): remove this once the old bindings are confirmed gone
for role in "${old_org_admin_roles[@]}"; do
# TODO(spiffxp): remove the extra super duper paranoia once we verify
# I haven't locked myself out via group membership
ensure_org_role_binding "user:[email protected]" "${role}"
ensure_org_role_binding "user:[email protected]" "${role}"
ensure_removed_org_role_binding "user:[email protected]" "${role}"
ensure_removed_org_role_binding "user:[email protected]" "${role}"
done
) 2>&1 | indent

Expand Down

0 comments on commit 4e5eeed

Please sign in to comment.