- Allow users to request just-in-time access to a shared drive or a folder in it, at the exact role they need, from the web and Slack
- Grant a Google group access to a shared drive or a folder in it
- Review who has access to each shared drive and folder, including access to drives through groups and nested groups
- Set the right resource owners to delegate approvals to those with the most context
- Automatically revoke access when a time-bound grant expires
Supported resources
Opal syncs every active user in your Workspace. Suspended users aren’t synced as users, but Opal still syncs any shared drive or group access they hold, so you can see what they’d get back if they were reactivated. Opal doesn’t label these accounts as suspended. Drive and group members from outside your Workspace are matched to Opal users by email the same way. Opal skips a member whose Opal user has been deleted, for example after they were offboarded from your identity provider. Opal syncs the folders in shared drives the admin is a member of; see Folders. The integration doesn’t sync files, or sharing with a whole domain or with anyone who has the link.
How shared drive access maps to Opal
- Access levels: each shared drive role is an access level: Viewer, Commenter, Contributor, Content manager, and Manager.
- One role per drive: Google allows each user or group one role on a shared drive, so when a member has several roles in Opal, Drive holds the highest. Granting a lower role doesn’t downgrade the member, and when a higher role is revoked or expires, Opal restores the highest role the member still has.
- Revoking access: a revoke removes only the role it names. If the member’s role on the drive has changed since the grant, Opal leaves the new role in place. Access a user has through a group isn’t affected when you revoke their direct role.
- Groups: a group’s members, including members of groups nested inside it at any depth, show the group’s access to a drive as indirect access.
- Group membership is read-only: Google Groups owns group membership, so Opal can’t add or remove members from groups in this app, and requests for these groups are turned off. To manage membership in Opal, use the Google Groups integration.
- Notifications: Opal turns off Google’s own sharing email when it grants drive access, because Opal already notifies the requester.
Folders
Opal syncs each shared drive’s folders, and the folders inside them, as Google Drive Folder items under the drive. Users can request and be reviewed for Viewer, Commenter, Contributor, and Content manager on a folder. Google only allows Manager on a whole shared drive.- Apps created before folder support: folders sync in every Google Shared Drive app, with nothing to turn on. Sync the app to see the folders in its drives.
- Only drives the admin is a member of: Google’s domain administrator access covers shared drives but not the folders inside them, so Opal reads and changes folders as the admin. To manage a drive’s folders, add the admin as a Manager of that drive. Drives the admin isn’t a member of show no folders.
- Access on a folder: a folder’s access in Opal lists the users granted a role on that folder. Members of the drive, and users granted a role on a folder above it, also reach the folder through those items, and show there.
- Roles at or below inherited access: Google ignores a folder role that isn’t higher than the role someone already gets from a folder above it, or from a Google Group’s role on the drive. Opal refuses such a grant and says where the existing access comes from.
- Roles that replace access inside a folder: granting someone a role on a folder replaces their equal or lower roles on the folders inside it. Opal removes those grants at its next sync. Before this happens, Opal warns the admin on Add users (but not when adding a group), and shows the warning on the request for the requester and reviewers.
- Drive or folders, not both: a user or group can have Opal access on a shared drive or on folders inside it, but not both. When someone’s drive access is removed or expires, Google also removes their access to the drive’s folders, and raising their drive role replaces it. Opal therefore refuses a folder grant for a drive member, and a drive grant for someone with folder access, and says which access is in the way. To change a drive member’s access, change their role on the drive. A user can have access on a folder and on folders inside it.
- Groups: Google Groups can be granted a role on a folder, and Opal syncs the groups granted on each folder. Groups from other apps, such as Okta or Opal groups, can be granted folders too: Opal grants each member the role.
- Sync time: syncing folders adds one extra permissions read per folder on each sync, so apps with drives that contain many folders may sync more slowly.
Requirements
Before you begin, you must:- Be an Opal Admin
- Have a Google Workspace super admin, who can configure domain-wide delegation and whom the service account acts as
- Have access to a Google Cloud project where you can enable APIs and create a service account key
- Be on version
1.1251.0or later, if you self-host Opal - To manage folders, add the admin as a Manager of each shared drive whose folders you want to manage
Configuration steps
1. Enable the Google APIs
In the Google Cloud console, select the project that will hold the service account, and enable the following APIs:
2. Create a service account
- Go to IAM & Admin > Service accounts and select Create service account.
- Name the service account, for example
Opal Google Shared Drive. - The service account doesn’t need any Google Cloud roles, so skip the optional steps and select Create and close.

3. Create a key and copy the client ID
- Open the service account and go to the Keys tab.
- Select Add key > Create new key, choose JSON, and select Create. Google downloads the key file. You’ll enter its contents in Opal in step 5.

- Go to the Details tab and copy the Unique ID. This is the service account’s OAuth client ID, which you’ll use in step 4.

If your organization enforces the
iam.disableServiceAccountKeyCreation policy, ask a Google Cloud organization admin to allow key creation for this project.4. Set up domain-wide delegation
- In the Google Admin console, go to Security > Access and data control > API controls, and select Manage Domain Wide Delegation.
- Select Add new, and enter the Unique ID from step 3 as the Client ID.
- Enter the following scopes in OAuth scopes, separated by commas, then select Authorize:

5. Create the Google Shared Drive app in Opal
In Opal, go to Inventory > +App and select Google Shared Drive. Fill in the following fields:
To manage more than one Google Workspace, create a separate app for each.