Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23eadfc

Browse files
committed
Narrow default scopes.
Addresses: #1138 (comment)
1 parent b340761 commit 23eadfc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gcloud/dns/connection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,5 @@ class Connection(base_connection.JSONConnection):
2929
API_URL_TEMPLATE = '{api_base_url}/dns/{api_version}{path}'
3030
"""A template for the URL of a particular API call."""
3131

32-
SCOPE = ('https://www.googleapis.com/auth/ndev.clouddns.readwrite',
33-
'https://www.googleapis.com/auth/cloud-platform')
32+
SCOPE = ('https://www.googleapis.com/auth/ndev.clouddns.readwrite',)
3433
"""The scopes required for authenticating as a Cloud DNS consumer."""

0 commit comments

Comments
 (0)