Skip to content

Conversation

@tammam-g
Copy link
Contributor

Last week we added a change to revoke user roles from firebasesuperuser once database setup is complete. This was an issue because if we assign IAM role to firebasesuperuser and we don't revoke it then cloudsql starts treating firebasesuperuser as IAM role and we can't access it anymore.

However, an edge case we didn't consider is cloudsqlsuperuser owning tables/schem, this will basically remove cloudsqlsuperuser access from firebasesuperuser.

Scenarios tested:

  • Fresh Database Setup
  • Reproduce bug and confirm this fixes it

@tammam-g tammam-g requested a review from joehan March 25, 2025 19:15
@tammam-g tammam-g requested a review from fredzqm March 25, 2025 19:20
Co-authored-by: joehan <[email protected]>
@tammam-g tammam-g enabled auto-merge (squash) March 25, 2025 21:43
@tammam-g tammam-g disabled auto-merge March 25, 2025 21:43
@tammam-g tammam-g removed the request for review from fredzqm March 25, 2025 21:44
@tammam-g tammam-g merged commit 290fab9 into master Mar 25, 2025
48 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants