Is there a gcloud command that allows
• list all of my permissions (e.g. logging.queries.save
etc)
• list the permissions of a given principal, given its email
?
For a given project gcloud asset search-all-iam-policies --scope=projects/<project> --query="policy:<email>"
replace projects/<project>
with folders/<folder_id>
or organizations/<org_id>
to have larger scope