Organizer and FileOrganizer roles missing for share
Hi, great repo @odeke-em - it's very useful and packed full of excellent features!
I noticed the following when I tried sharing a drive using the following command:
drive share -emails <email> -role organizer -type user <directory>
The email was actually given the role of reader when I checked the permissions. Looking at the code it seems that the organizer and fileOrganizer roles that are described in the Google Drive Roles are missing.
Unfortunately using the owner permission instead is not a workaround as I get the following message:
share err <directory>: googleapi: Error 400: Bad Request. User message: "Sorry, cannot transfer ownership to <email>. Ownership can only be transferred to another user in the same organization as the current owner.", ownershipChangeAcrossDomainNotPermitted
This makes sense as the owner of the drive is a service account which is created under the gserviceaccount.com domain.
So the best I can do is to assign the writer permission. However, that means I will not have some of the privileges described in the Google Drive Roles.
Thanks in advance.