Google-drive – Is it possible recursively remove permissions / sharing from a single user in Google Drive

google-drivepermissions

I'd like to remove a specific user from having sharing permissions in a specific tree in our company's Google Drive. I have found that I can select all of the folders at a specific level and remove them from those folders, but that change doesn't propagate down to the subfolders.

Is there any way to do this?

Looking at the code in How do I reset permissions for Google Drive documents in all subfolders?, it resets all permissions (many users) recursively, which is close but not what I'm looking for. I need to remove one specific user who has left the organization, and resetting completely would screw up the complex permissions we already established. It's possible that script could potentially be modified to just remove one specific user.

Is there an easier solution?

Best Answer

Short answer

Yes, there is an easier solution but you will need help of the Google Apps Administrator

Explanation

If the user left the organization, ask for help to the Google Apps administrator to do the following:

  1. Transfer ownership of Google Drive documents
    • In order to prevent that an important asset become lost, transfer the ownership of the files owned by the leaving user. Also other elements like shared calendars should be transferred.
  2. Delete user account
    • Once an account is deleted it will be removed from the file sharing settings.

References