flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

[bug]: don't see the projects created by another user when I run the 'flutterfire configure' command even though I am an administrator.

Open AlexandreMaillot opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

CLI Version

1.0.0

Firebase Tools version

13.7.0

Flutter Doctor Output

[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale fr-RE) • Flutter version 3.22.1 on channel stable at /Users/alexandremaillot/fvm/versions/stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision a14f74ff3a (4 weeks ago), 2024-05-22 11:08:21 -0500 • Engine revision 55eae6864b • Dart version 3.4.1 • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/alexandremaillot/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.15.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.88.1) • VS Code at /Users/alexandremaillot/Downloads/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available) • iPhone d’Alexandre (mobile) • 00008130-000E5DEA22C0001C • ios • iOS 17.5.1 21F90 • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.62

[✓] Network resources • All expected network resources are available.

• No issues found!

Description

[bug]: don't see the projects created by another user when I run the 'flutterfire configure' command even though I am an administrator.

Steps to reproduce

Run the 'flutterfire configure' command on a project created by another user and make sure you are the owner.

Expected behavior

I am waiting to see the project

Screenshots

No response

Additional context and comments

No response

AlexandreMaillot avatar Jun 20 '24 12:06 AlexandreMaillot

Hey @AlexandreMaillot - under the hood, we're calling this command:

firebase projects:list

Technically, we're calling:

firebase projects:list --json

but the first command will be easier for you to read. See if the project is listed there, I suspect not.

russellwheatley avatar Jun 25 '24 09:06 russellwheatley

I’ve already tried, there’s no

AlexandreMaillot avatar Jun 25 '24 09:06 AlexandreMaillot

I had the same issue, I was given full ownership role of the project but still the project was not listed in my list of projects on the dashboatd and through firebase cli. After a couple of hours looking through my projects on GCP I noticed that the specific shared project did not have firebase:enabled label. So I found this Firebase FAQ item on the firebase page that explained the label. After adding the label then the shared project appeared. I hope this helps someone :)!

NB: you may need to run firebase login --reauth for the project to be visible in the cli

badru254 avatar Aug 20 '24 19:08 badru254

I had the same issue, I was given full ownership role of the project but still the project was not listed in my list of projects on the dashboatd and through firebase cli. After a couple of hours looking through my projects on GCP I noticed that the specific shared project did not have firebase:enabled label. So I found this Firebase FAQ item on the firebase page that explained the label. After adding the label then the shared project appeared. I hope this helps someone :)!

NB: you may need to run firebase login --reauth for the project to be visible in the cli

For me, the flag was already there with the value enabled

I just had to run the login command with reauth and all my projects appeared, thanks.

deepss1 avatar Oct 09 '24 02:10 deepss1

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Nov 06 '24 02:11 github-actions[bot]