I cant list repos of cloud source repositories

I cant list cloud source repositories -

gcloud source repos list

ERROR: (gcloud.source.repos.list) PERMISSION_DENIED: Permission denied to enable service [sourcerepo.googleapis.com]

I gave those permissions to my user -

  • Actions Admin

  • Create Service Accounts

  • DNS Administrator

  • Owner

  • Service Account Admin

  • Service Usage Admin

do I have to add , any other permission ? every thing that is related to source repositories service, I dont have permission to run with commands .

Hello Murilo
You should be able to list repositories if you have the Owner role.
The problem is most likely not a missing permission if you’re receiving PERMISSION_DENIED, but rather:

Are you in the right project on Google Cloud?
Are you using the right user account for authentication?
Thanks