davidstrauss / google-drive-recursive-ownership

Tool to recursively give away file and document ownership to another user.
MIT License
269 stars 68 forks source link

Anyone can tell me what is going on here? #29

Closed Resonate1 closed 5 years ago

Resonate1 commented 5 years ago

Item b'_Folder for test' needs ownership granted. But, current user does not own the item.

That is the point of the script.

davidstrauss commented 5 years ago

That is the point of the script.

No, you can't grant ownership to another user if the user accessing the API lacks ownership of the object in the first place. That's not a limitation of the script; it's a key assumption of the access control model for Google Drive.

The point of the script is to grant/transfer ownership for objects where you have the current ownership.