-
Notifications
You must be signed in to change notification settings - Fork 492
Open
Labels
Description
If you have one file or folder inside a Team Drive shared with all users in domain to [email protected], it is not displayed in the commands:
gam user [email protected] print filelist fields id,title,mimetype,owners.emailaddress showownedby others
or
gam user [email protected] print filelist fullquery "sharedWithMe=True" showownedby others
The commands above only show all files or folders shared to a domain but not shared files inside a Team Drive. The user [email protected] is not a member of the Team Drive, but have permission to access/write the file inside the Team Drive.
Full steps to reproduce the issue:
- Create a FILE1 inside a Team Drive shared with all users in domain with a link (user [email protected] is not a member of the Team Drive).
- Get the FILE1 link of shared file and access with the user [email protected]
- Create a FILE2 outside a team drive shared with all users in domain with a link
- Get the FILE2 link of shared file and access with the user [email protected]
- Execute the gam commands above and FILE1 are not listed as expected, only FILE2 are listed