Skip to content

Commit 02f828c

Browse files
author
Eric Koleda
committed
Prefer the read-only scope.
1 parent 938c385 commit 02f828c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin_sdk/groups_settings/detect_external_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# If modifying these scopes, delete your previously saved credentials
2727
# at credentials.json
28-
SCOPES = ['https://www.googleapis.com/auth/admin.directory.group',
28+
SCOPES = ['https://www.googleapis.com/auth/admin.directory.group.readonly',
2929
'https://www.googleapis.com/auth/apps.groups.settings']
3030
CLIENT_SECRET_FILE = 'client_secret.json'
3131
APPLICATION_NAME = 'List Groups with external access'

0 commit comments

Comments
 (0)