You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
The email was actually given the role of
reader
when I checked the permissions. Looking at the code it seems that theorganizer
andfileOrganizer
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: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.
The text was updated successfully, but these errors were encountered: