Compare commits

...

5 Commits

Author SHA1 Message Date
Nicholas Tindle
9526ae90d8 Merge branch 'dev' into fix/sheets-write-not-working-picker 2025-12-01 13:28:27 -06:00
Nicholas Tindle
b7bcf5ee10 Merge branch 'dev' into fix/sheets-write-not-working-picker 2025-12-01 11:58:30 -06:00
Lluis Agusti
6515bac77f chore: undo 2025-11-28 00:17:50 +07:00
Lluis Agusti
37280245a7 chore: changes 2025-11-28 00:15:42 +07:00
Lluis Agusti
49a014c485 fix(backend): fix sheets write not working picker 2025-11-28 00:03:40 +07:00

View File

@@ -110,6 +110,8 @@ def GoogleDrivePickerField(
picker_scopes.add("https://www.googleapis.com/auth/drive")
else:
# Use drive.file for minimal scope - only access files selected by user in picker
# This scope is sufficient for the picker to work. The actual API operations
# (read/write) use the block's credentials field which has the appropriate scopes.
picker_scopes.add("https://www.googleapis.com/auth/drive.file")
picker_config["scopes"] = sorted(picker_scopes)