How to leave project?

2020-06-17 04:55发布

问题:

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:

  1. Accessing the project
  2. Navigating to "IAM & Admin"
  3. Selecting your Google account email from the Members list
  4. 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:

  1. Open the document itself;
  2. Click Share button;
  3. Click Advanced and remove yourself from Shared with accounts;