Skip to content

feat: [WIP] Automate GDrive Access for approved volunteers #114

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mr-Sunglasses
Copy link
Contributor

fix: #109

@Mariatta This is the first prototype of gdrive acess feature and it is working for me.

  • Did we have to show in the volunteer profile that the user have the access of gdrive ?

Copy link

netlify bot commented May 6, 2025

👷 Deploy request for pyladiescon-portal-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit cabed1c


# Google Drive Settings
GOOGLE_SERVICE_ACCOUNT_FILE = os.path.join(
BASE_DIR, "krishnapachauri-208910-574aa1e639b3.json"
Copy link
Member

Choose a reason for hiding this comment

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

use env var instead of hardcoding

GOOGLE_SERVICE_ACCOUNT_FILE = os.path.join(
BASE_DIR, "krishnapachauri-208910-574aa1e639b3.json"
)
GOOGLE_DRIVE_FOLDER_ID = "18P_t0wpEXuMQyQkZJxccsacOh-eelLDk"
Copy link
Member

Choose a reason for hiding this comment

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

Use env var instead of hardcoding

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I’ve make it a test version to verify the logic is correct or not, will fix it once we agree that this is what we gonna do.

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.

Automate some of the volunteer process
2 participants