Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored Google Drive Connector + Permission Syncing #2945

Merged
merged 24 commits into from
Nov 1, 2024

Conversation

hagen-danswer
Copy link
Contributor

Description

Now, when using either auth flow in google, you will be able to select whether or not you want to index personal drives.

This is especially notable for orgs using the service account auth flow with permission syncing because now everyones docs can be synced and the permissions will match those in the source

Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 2:05am

@hagen-danswer hagen-danswer changed the title Refactored Google Drive Connector Refactored Google Drive Connector + Permission Syncing Oct 29, 2024
@wnmurphy
Copy link

It looks like this adds option to specify URL to a shared drive, is that right?

Excited for Google Drive connector enhancements, thanks!

backend/danswer/connectors/google_drive/connector.py Outdated Show resolved Hide resolved
backend/danswer/connectors/google_drive/connector.py Outdated Show resolved Hide resolved
backend/danswer/connectors/google_drive/connector.py Outdated Show resolved Hide resolved
web/src/lib/connectors/connectors.tsx Outdated Show resolved Hide resolved
web/src/lib/connectors/connectors.tsx Outdated Show resolved Hide resolved
web/src/lib/connectors/connectors.tsx Outdated Show resolved Hide resolved
@hagen-danswer hagen-danswer added this pull request to the merge queue Oct 31, 2024
@hagen-danswer hagen-danswer removed this pull request from the merge queue due to a manual request Oct 31, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be here, right?

return accessible_file_names_for_user


def check_access_for_user(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for future reference, would prefer if these tests were a bit less abstracted. imo It's pretty hard to tell what's going on here (and throughout the test)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's chat through this (maybe as a team). but not worth re-writing these ones

Merged via the queue into main with commit 71d4fb9 Nov 1, 2024
7 checks passed
@hagen-danswer hagen-danswer deleted the google-cred-flow-rework branch November 1, 2024 13:19
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.

3 participants