uppy icon indicating copy to clipboard operation
uppy copied to clipboard

New provider views + disabling GoogleDrive "shared drives"

Open lakesare opened this issue 1 month ago • 0 comments

GoogleDrive has 3 types of "shared" items:

  1. shared files/folders [not denoted in any way in Uppy] These are the files our user shared with other people.

  2. "shared with me" folder [denoted by folder.id = VIRTUAL_SHARED_DIR] This is a virtual folder Uppy creates that contains all files that were ever shared with the user.

  3. shared drives [denoted by folder.custom.isSharedDrive] This is what used to be called "Team Drives" and later was renamed to "Shared Drives" (https://support.google.com/a/users/answer/7212025). In order to work with them, we need a certain plan in Google Workspace (Business Standard works, Business Starter doesn't).

Checkboxes for team drives were disabled here because "checkbox threw errors (and didn't do anything useful)".

With the new provider views code, this issue likely did not persist.
However it could have persisted for the "check a shared drive, then proceed with the download" situation.

We cannot test whether any of these issues persisted, because obtaining the Business Standard is a headache.
For example, I happen to have a Business Starter plan in Google Workspace, but Google won't let me update to Business Standard - this might be because of Google's recent migration to Squarespace, so worth checking up on this later. Transloadit is also on a Business Starter plan, so we can't check this with their Google Workspace account either, however Google might let them upgrade.

Right now I disabled team drive checkboxes for GoogleDrive, but ideally we need to obtain a Google Workspace Business Starter plan, and check if we can enable them.

lakesare avatar Jun 06 '24 08:06 lakesare