From c4e7c714e455f958d9a927c4bc4eb23256324780 Mon Sep 17 00:00:00 2001 From: hugocasa Date: Mon, 5 Oct 2026 16:21:11 +0200 Subject: [PATCH] feat: offer audit-log and drive-metadata scopes for google oauth connects (#11527) --- backend/oauth_connect.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json index 17684b8b48..d256d677f1 100644 --- a/backend/oauth_connect.json +++ b/backend/oauth_connect.json @@ -94,7 +94,8 @@ "scopes": ["https://www.googleapis.com/auth/spreadsheets"], "scope_options": [ { "value": "https://www.googleapis.com/auth/spreadsheets", "label": "Read, edit, create and delete spreadsheets" }, - { "value": "https://www.googleapis.com/auth/spreadsheets.readonly", "label": "Read spreadsheets" } + { "value": "https://www.googleapis.com/auth/spreadsheets.readonly", "label": "Read spreadsheets" }, + { "value": "https://www.googleapis.com/auth/drive.metadata.readonly", "label": "List and search your spreadsheets in Drive" } ], "extra_params": { "access_type": "offline", @@ -226,7 +227,8 @@ { "value": "https://www.googleapis.com/auth/admin.directory.group.readonly", "label": "Read groups" }, { "value": "https://www.googleapis.com/auth/admin.directory.orgunit", "label": "Read and manage organizational units" }, { "value": "https://www.googleapis.com/auth/admin.directory.orgunit.readonly", "label": "Read organizational units" }, - { "value": "https://www.googleapis.com/auth/admin.directory.user.security", "label": "Manage user security settings" } + { "value": "https://www.googleapis.com/auth/admin.directory.user.security", "label": "Manage user security settings" }, + { "value": "https://www.googleapis.com/auth/admin.reports.audit.readonly", "label": "Read audit logs (login, admin, Drive, token activity)" } ], "extra_params": { "access_type": "offline",