Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Write Permission Checking to use an Internal Database Table instead of Firebase Custom Claims. #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wenovus
Copy link
Contributor

@wenovus wenovus commented Sep 21, 2021

Firebase custom claims requires service accounts and generating a private key for management, which may present more of a security risk, and is slightly more cumbersome than just running some SQL statements.

I've taken some steps to continue using custom claims but it seems the overhead of conforming to the new security standard of avoiding service account private keys is too onerous. Removing it also means we no longer have to maintain the grantaccess.go script.

README is updated. Tested by manually deploying and verifying functionalities.

…irebase Custom Claims.

Firebase custom claims requires service accounts and generating a private key for management, which may present more of a security risk, and is slightly more cumbersome than just running some SQL statements.

I've taken some steps to continue using custom claims but it seems the overhead of conforming to the new security standard of avoiding service account private keys is too onerous.  Removing it also means we no longer have to maintain the `grantaccess.go` script.

README is updated. Also tested on a manual test deployment.
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.

1 participant