Skip to content

Comments

fix(drive): enable support for Shared Drives / Team Drives#334

Open
jlprado wants to merge 1 commit intosteipete:mainfrom
jlprado:fix-shared-drive-support
Open

fix(drive): enable support for Shared Drives / Team Drives#334
jlprado wants to merge 1 commit intosteipete:mainfrom
jlprado:fix-shared-drive-support

Conversation

@jlprado
Copy link

@jlprado jlprado commented Feb 20, 2026

This PR fixes visibility issues with Shared Drive content by ensuring the SupportsAllDrives and IncludeItemsFromAllDrives parameters are correctly passed to the Google Drive API.

Specifically:

  • Enables SupportsAllDrives=true and IncludeItemsFromAllDrives=true for file listing and search operations.
  • Correctly manages the corpora parameter: it is now omitted for drive ls (which uses parent queries) to avoid API errors, but included for drive search to ensure global visibility.
  • Fixes a build error in contacts_crud.go related to incorrect function signatures.

Verification:
Verified by successfully listing contents of a known Shared Drive folder (1aaVZr_tFvl3VEqmhrOTf8af8VUzomNlO) using the updated binary.

This process was done by Gemini 3 Pro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant