Lecteurs connectés avec Google DriveDépend de la configuration d’Ivy
This guide connects your Google Workspace shared drives to Ivy, so space admins can link the shared drives you select to their spaces. Everyone in a space then uses its shared drives through Ivy’s service account; nobody connects their own Google account, and Ivy stores no personal Google tokens. Read Connected drives first for how mounts behave.
You need:
- an Ivy organisation owner or admin who is also a Manager of each shared drive you want to use;
- a Google Workspace admin, if your sharing settings stop people from adding members from outside your organisation (see step 2).
If you run Ivy yourself, create your own service account first: Connected drives on your own installation.
What Ivy asks for, and why
Ivy reaches Google Drive only with its service account, an account of Ivy’s own whose address ends in .iam.gserviceaccount.com. It uses the scope https://www.googleapis.com/auth/drive, but reaches only the shared drives you add it to (step 2), because Google’s own sharing decides what it can see. Nobody in your organisation grants Ivy a scope or signs in to Google for Ivy, and no person’s token is ever used or stored.
Everyone in a space that mounts a shared drive reaches it through Ivy, whatever their own Google permissions: link a shared drive only to spaces whose members may all see it. Ivy never uses domain-wide delegation, which would let it act as anyone in your domain, and never asks for Gmail, Calendar or directory scopes. Its use of data from Google APIs follows the Google API Services User Data Policy, including the Limited Use requirements; the privacy policy has the details.
1. Turn Google Drive on in Ivy
- In Ivy, open Settings → Connected drives, select Google Drive and turn it on. Ivy asks you to confirm your identity again.
- Google Drive now shows On, and Service access shows the service account’s address.
2. Add Ivy to selected shared drives
Google has no way to give an app access to selected shared drives other than making it a member, so the service account reaches exactly the shared drives you add it to, and nothing else.
- In Google Drive, open Shared drives, then the shared drive, and select Manage members.
- Add the service account’s address with the role Content manager, and turn off Notify people.
Content manager lets the service account add, edit, move and delete files, but not change members or the shared drive’s settings.
The service account is outside your organisation. If Google refuses to add it:
- in the Admin console, Apps → Google Workspace → Drive and Docs → Sharing settings must allow sharing outside your organisation for the people managing the shared drive (allowing only allowlisted domains blocks it);
- the shared drive’s own Shared drive settings must allow people outside your organisation to access its files.
3. Select the shared drives in Ivy
- In Ivy, open Settings → Connected drives → Google Drive → Service access and select Add drive (Ivy asks you to confirm your identity again).
- Enter the shared drive’s address, as your browser shows it when the shared drive is open (
https://drive.google.com/drive/folders/…), or its ID. Ivy reads it with the service account, so you don’t sign in to Google for this. - Select the shared drive.
You must be a Manager of the shared drive. One service account serves every organisation on Ivy cloud, so the service account reaching a shared drive doesn’t show which organisation it belongs to. Ivy therefore checks that the email address you sign in to Ivy with is one of the shared drive’s Managers, using the member list the service account can read. Otherwise Ivy refuses the selection (drive_manager_required).
If Ivy can’t reach the shared drive (service_access_missing), the service account isn’t a member yet (step 2). An address that isn’t a shared drive answers invalid_address. Ivy keeps checking the service account’s access to each selected shared drive and shows Access granted, or Access missing if it was removed later.
My Drive can’t be selected: it belongs to one person, not to a space.
4. Space admins add the shared drives
A space admin opens the space’s files, selects Connected drive in the Files toolbar and picks one of the selected shared drives, or a folder in it. Everyone in the space can then use it, with what their space role allows. Nobody needs a Google account for that.
A shared drive that isn’t selected answers 422 drive_not_selected. If you later remove a shared drive from Service access, its folders stay in the spaces but show “An organisation admin needs to give Ivy access to this drive again” and no contents.
Revoking access
- One person in a space: remove them from the space in Ivy, or deactivate them (SCIM does this for you). Mounts don’t depend on their Google account, so suspending them only in Google doesn’t end their access through Ivy.
- A shared drive: remove it in Ivy’s Service access, which stops every mount of it at once, and remove the service account from the shared drive’s members.
- The whole organisation: turn Google Drive off in Settings → Connected drives, which stops every mount at once and deletes every scanned copy. Then remove the service account from your shared drives.
Troubleshooting
- Google refuses to add the service account: your sharing settings don’t allow members from outside your organisation (step 2).
drive_manager_requiredwhen selecting: the email address you sign in to Ivy with isn’t a Manager of the shared drive. Ask one of its Managers to select it, or to make you a Manager.- A mount shows “An organisation admin needs to give Ivy access to this drive again”: its shared drive was removed from Service access. Select it again (step 3).
- Service access shows Access missing: the service account isn’t a member of the shared drive any more, or has a role below Content manager.
- Large Google Docs, Sheets or Slides open only in Google: Google limits exports to 10 MB, so Ivy links to the document instead.
- A file in a shared drive that restricts downloads (“Prevent viewers and commenters from downloading”) can’t be fetched with view access; Ivy shows Google’s refusal.