Implement support for Google docs, including retrieve by url
This commit is contained in:
@@ -41,6 +41,12 @@ BASE_SCOPES = [
|
||||
OPENID_SCOPE
|
||||
]
|
||||
|
||||
# Calendar-specific scopes
|
||||
DOCS_SCOPES = [
|
||||
DOCS_READONLY_SCOPE,
|
||||
DOCS_WRITE_SCOPE
|
||||
]
|
||||
|
||||
# Calendar-specific scopes
|
||||
CALENDAR_SCOPES = [
|
||||
CALENDAR_READONLY_SCOPE,
|
||||
@@ -49,7 +55,8 @@ CALENDAR_SCOPES = [
|
||||
|
||||
# Drive-specific scopes
|
||||
DRIVE_SCOPES = [
|
||||
DRIVE_READONLY_SCOPE
|
||||
DRIVE_READONLY_SCOPE,
|
||||
DRIVE_FILE_SCOPE
|
||||
]
|
||||
|
||||
# Gmail-specific scopes
|
||||
@@ -59,7 +66,7 @@ GMAIL_SCOPES = [
|
||||
]
|
||||
|
||||
# Combined scopes for all supported Google Workspace operations
|
||||
SCOPES = list(set(BASE_SCOPES + CALENDAR_SCOPES + DRIVE_SCOPES + GMAIL_SCOPES + [DRIVE_FILE_SCOPE])) # Add DRIVE_FILE_SCOPE and GMAIL_SCOPES
|
||||
SCOPES = list(set(BASE_SCOPES + CALENDAR_SCOPES + DRIVE_SCOPES + GMAIL_SCOPES + DOCS_SCOPES))
|
||||
|
||||
# Note: OAUTH_REDIRECT_URI is defined in core/server.py as it depends on the server's port.
|
||||
# It will be imported directly from core.server where needed.
|
||||
Reference in New Issue
Block a user