You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permissions required for service account deploy #7754
Hey @ottob, thanks for reporting this. The firebaseextensions.instance.list permission will be required for any deployments that includes Firebase Cloud Functions. Here's a comment from someone from our engineering team explaining this in detail. Could you try adding the Firebase Extensions Viewer role to see if this would resolve the permission issue?
Regarding the cloudscheduler.jobs.update, I think this permission is required to be able to deploy scheduled functions since these functions uses Cloud Scheduler to invoke your function.
Thanks for confirming @staticshock. @ottob, looking at the doc you shared, it does seem like the role does not contain the firebaseextensions.instance.list permission. Although, when I tried to reproduce this, adding the Firebase Extensions Viewer role resolves the permission issue.
I'll raise this to our engineering team to get additional context on whether this is an issue with the documentation or something else entirely.
Reacted by BenaymS, Sam Spencer, Otto Bretz and KoheiKanagu
Hey @ottob. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
I just ran into this as well, and adding the Firebase Extensions Viewer role to the service account (as recommended above) resolved it 👍
Chiming in to say that this resolved the issue for me too -- although that role doesn't appear when searching for the necessary permission. Looking forward to more guidance on this. Thank you ❤️.
Hey folks, apologies that I wasn’t able to provide an update to this sooner. Discussed this with our engineering team and they verified that adding the Firebase Extensions Viewer role is the fix for not having the firebaseextensions.instances.list permission.
Regarding the issue where the firebaseextensions.instances.list role isn’t visible, we created an internal tracking bug(b/370526090) to get this looked into.
Can you please add the firebaseextensions.instances.list permission to the Firebase Develop Admin IAM role?
@ottob, sorry I missed this, but the Firebase CLI repository isn’t the best place to keep track of this. Can you please file a request to our Firebase Support channel to see if it would be possible to add this permission by default to the predefined role? Thanks!
Hey @ottob. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
this was super annoying, and after finding a very convoluted set of roles that worked, i then found my scheduled jobs still did not work! :/
the tldr fix: give your service account "Editor" permissions.
while this is certainly far too many permissions, but if you are coming here because FIREBASE_TOKEN no longer works and you are trying to use GOOGLE_APPLICATION_CREDENTIALS then setting the credentials to "Editor" will save you some hair pulling and a ton of wasted time deploying
@aalej - it is a bit of a crying shame there aren't some decent permissions defined that work for firebase, but i can imagine the meetings involved and people arguing over what should be called what and have what roles.
Activity
ottob commentedon Sep 26, 2024
cloudscheduler.jobs.updatewas also required when I tried to deploy. That was also not part ofFirebase Develop Adminaalej commentedon Sep 27, 2024
Hey @ottob, thanks for reporting this. The
firebaseextensions.instance.listpermission will be required for any deployments that includes Firebase Cloud Functions. Here's a comment from someone from our engineering team explaining this in detail. Could you try adding theFirebase Extensions Viewerrole to see if this would resolve the permission issue?Regarding the
cloudscheduler.jobs.update, I think this permission is required to be able to deploy scheduled functions since these functions uses Cloud Scheduler to invoke your function.ottob commentedon Sep 27, 2024
Thanks for you reply. Unfortunately I cannot test this right now, but I'll reply when I have done so.
But according to
https://cloud.google.com/iam/docs/understanding-roles#firebaseextensions.viewer that roles does not seem to have the
firebaseextensions.instances.listpermission.staticshock commentedon Sep 27, 2024
I just ran into this as well, and adding the
Firebase Extensions Viewerrole to the service account (as recommended above) resolved it 👍aalej commentedon Sep 30, 2024
Thanks for confirming @staticshock. @ottob, looking at the doc you shared, it does seem like the role does not contain the
firebaseextensions.instance.listpermission. Although, when I tried to reproduce this, adding theFirebase Extensions Viewerrole resolves the permission issue.I'll raise this to our engineering team to get additional context on whether this is an issue with the documentation or something else entirely.
google-oss-bot commentedon Oct 9, 2024
Hey @ottob. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Sam-Spencer commentedon Oct 9, 2024
Chiming in to say that this resolved the issue for me too -- although that role doesn't appear when searching for the necessary permission. Looking forward to more guidance on this. Thank you ❤️.
aalej commentedon Oct 9, 2024
Hey folks, apologies that I wasn’t able to provide an update to this sooner. Discussed this with our engineering team and they verified that adding the
Firebase Extensions Viewerrole is the fix for not having thefirebaseextensions.instances.listpermission.Regarding the issue where the
firebaseextensions.instances.listrole isn’t visible, we created an internal tracking bug(b/370526090) to get this looked into.@ottob, sorry I missed this, but the Firebase CLI repository isn’t the best place to keep track of this. Can you please file a request to our Firebase Support channel to see if it would be possible to add this permission by default to the predefined role? Thanks!
google-oss-bot commentedon Oct 18, 2024
Hey @ottob. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
google-oss-bot commentedon Oct 23, 2024
Since there haven't been any recent updates here, I am going to close this issue.
@ottob if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
zenhorace commentedon Jul 8, 2025
Had this issue, and the workaround worked for me. It's unfortunate that this issue remains unresolved.
carchrae commentedon Jun 30, 2026
this was super annoying, and after finding a very convoluted set of roles that worked, i then found my scheduled jobs still did not work! :/
the tldr fix: give your service account "Editor" permissions.
while this is certainly far too many permissions, but if you are coming here because
FIREBASE_TOKENno longer works and you are trying to useGOOGLE_APPLICATION_CREDENTIALSthen setting the credentials to "Editor" will save you some hair pulling and a ton of wasted time deploying@aalej - it is a bit of a crying shame there aren't some decent permissions defined that work for firebase, but i can imagine the meetings involved and people arguing over what should be called what and have what roles.
fix(deploy-setup): demande le seul role que l'api des extensions acce…