cryptomator / cryptomator/android

Access folders in "Shared drives" of Google Suite

Open
#354 0 comments 0 reactions 0 assignees View on GitHub
storage:google-drive type:feature-request
Dominant language
Kotlin
Stars
1.2k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

- [X] I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)

### Summary

As a user, I want to be able to access vaults located in "Shared drives" of Google Suite

### Motivation

In the Google Suite there is a difference between "Shared Folders" and "Shared drives". All folders created in the "Shared drives" section are automatically shared with the team. Personal accounts only have "Shared drives", when the account is invited to an "Shared drives" drive from a Google Suite account.

---

**"Shared Folders"**: You can access shared folders. If you're unable to access a shared folder that was shared with you (i.e., you are not the owner), you have to add (link) the shared folder to your "My Drive".

**"Shared drives"**: You can not access folders located in "Shared drives", even if you add a shortcut to "My Drive", you cannot access folders from this location.

### Considered Alternatives

_No response_

### Anything else?

See https://developers.google.com/drive/api/v3/enable-shareddrives and https://developers.google.com/drive/api/v3/about-files for more information. The implementation should be quiet similar to https://github.com/cryptomator/android/issues/262 as we need to set the `driveId` in the query which is currently `root` (an alias for the root folder) and needs to be different for drives in the "Shared drives" section.

### Workaround

You can add a shortcut to "My Drive", then the "Shared drives" folder can be accessed. See [How to access shared vaults in Google Drive](https://community.cryptomator.org/t/how-to-access-shared-vaults-in-google-drive/9432) for further information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.