We use Google Drive to store documents and collaborate internally and externally.

All files should be stored within Google Drive and not on your local hard drive.

Sharing permissions

There are several ways to share documents within Google Drive.

From each of these sharing levels you can set how you want collaborators to interact with the file (edit, view, or comment). More information about getting started with Google Drive can be found here.

My Drive

These drives are account user specific. Folders and files can only have one owner, which by default is the account owner. Ownership of files and folders can be transferred but this has to be done by the account owner, administrators cannot transfer for you in the event the user is unavailable. While folders and files in My Drive can be shared and worked on collaboratively, best practice is to store all documents in a shared drive so that ownership is shared by a group or multiple users.

Shared drives

The benefit of shared drives is that administrators and drive owners can manage the content stored inside. The Sourcegraph shared drive allows all teammates to manage files and folders stored inside it. There are also shared drives for specific teams and groups.

Sharing public documents

If you have a set of documents to be shared publicly, Tech Ops will create a drive where the files and folders have the ability to “share with anyone with a link.” Externally shared folders will have the title “EXT - Sourcegraph - XXX”. To request support with this, please send a message in #ask-IT-tech-ops with a link to the document and details about who you’d like to share it with.

Collaborating with people outside of Sourcegraph

Collaborating on files with people outside of Sourcegraph is available to everyone through the use of allowlists. Any folder or file can be shared with people at an organization whose domain has been added to our allowlist. After adding an email account, Drive will either allow the invite to be sent (meaning the domain is already on the allowlist) or else Drive will send a warning stating that this domain is not on our allowlist.

To request a domain be added, please post in #ask-it-tech-ops.

Domains will be reviewed periodically to ensure they are still active collaborators.

Using Google service accounts

Please contact Tech Ops for granting access to google drive files for google service accounts. These accounts need to be scoped properly to allow information to be accessed by the service account.