-
Notifications
You must be signed in to change notification settings - Fork 373
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
Upgrading firebase-admin requires additional serviceUsageConsumer permissions #2658
Comments
We also are affected by this - do we really need to grant the |
Mentioning @jonathanedey @lahirumaramba @egilmorez as you were involved in the PR that I believe to be the suspect of the (for us) breaking change (in a minor version upgrade) Would be nice to get some investigation started on why this is now a requirement 😌 |
We ran into this issue as well, and to narrow it down, we have issues going from In our case, we have a service account that only have |
Makes sense, it probably needs additional rights as now the The PR fixes running as person, which requires to specify the project that is used to take the billing (as persons are not billed directly), which requires TL;DR: The perfect implementation would send that header ONLY if ADC is used with a human account. Seems like this will probably be fixed in #2466, as they mention that #2553 is only a temp fix that will be thrown away when 2466 lands. (Or at that point the role is required anyway as a breaking change.) Can we get clarification if the role is indeed required eventually anyway so we can add it right away? |
Hey folks, @swftvsn's explanation above is correct! The header |
Hello, any news about this issue? Has it been solved in a new release? Thanks. |
@lahirumaramba, could you please clarify - By should have been, do you mean that the 12.x major releases have a bug where this header is mistakenly added for all accounts (human, service, or otherwise)? Will this issue only be resolved in the upcoming major release (version 13)? |
I have the same problem. I managed to fix the problem by downgrading "dependencies": {
"firebase-admin": "^11.11.1",
"@google-cloud/storage": "^6.9.5", |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
When upgrading the package, we suddenly get the following error:
The service account(s) in question have the following roles (which should be sufficient)?
Relevant Code:
The text was updated successfully, but these errors were encountered: