I can not find a way to leave the project, the owner of which is not me. Any attempts to do this through the IAM lead to nothing. I want the project to stop showing up in my account.
问题:
回答1:
A member of the project with the permission resourcemanager.projects.setIamPolicy
is required to add/remove/update IAM policies on the project. The IAM role roles/owner
, contains this permission.
The member with this permission is the only member that will be able to remove you from the project typically this is the "Project Owner". Unless your membership is being granted via a Google Group / Google Apps domain that you belong to.
If your Google account is added directly, the "Project Owner" can remove you by:
- Accessing the project
- Navigating to "IAM & Admin"
- Selecting your Google account email from the Members list
- Selecting "Remove"
If your access is granted via a Google Group / Google Apps domain, you will need to remove yourself from those entities.
Currently, the project will continue to appear in your Project Selection window until you are removed.
回答2:
The same problem happens to Google Cloud Platform projects which originate from Google Docs (or Sheets, Slides) Scripts, and can be solved as follows:
- Open the document itself;
- Click
Share
button; - Click
Advanced
and remove yourself fromShared with
accounts;