enable user invite scope by default

This commit is contained in:
Jay Lee
2022-08-24 17:53:57 +00:00
parent 6f6ccad00b
commit 2c83068605

View File

@@ -777,8 +777,9 @@ def checkConnection():
success_count = 0
for host in hosts:
try_count += 1
check_line = f'Checking {host} ({try_count}/{host_count})...'
sys.stdout.write(f'{check_line:<60}')
ip = socket.gethostbyname(host)
check_line = f'Checking {host} ({ip}) ({try_count}/{host_count})...'
sys.stdout.write(f'{check_line:<80}')
sys.stdout.flush()
try:
httpc.request(f'https://{host}/', 'HEAD', headers=headers)
@@ -10593,7 +10594,6 @@ OAUTH2_SCOPES = [
'name': 'Cloud Identity - User Invitations',
'subscopes': ['readonly'],
'scopes': 'https://www.googleapis.com/auth/cloud-identity.userinvitations',
'offByDefault': True,
},
{
'name': 'Contact Delegation',