mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Two changes (#1335)
Allow DATE as schema field type Allow gam check isinvitable <EmailAddress>
This commit is contained in:
@@ -1230,6 +1230,11 @@ The listlimit <Number> argument limits the number of recent users, time ranges a
|
|||||||
The start <Date> and end <Date> arguments filter the time ranges.
|
The start <Date> and end <Date> arguments filter the time ranges.
|
||||||
Delimiter defaults to comma.
|
Delimiter defaults to comma.
|
||||||
|
|
||||||
|
gam delete chromepolicy <SchemaName>+ orgunit <OrgUnitItem>
|
||||||
|
gam update chromepolicy (<SchemaName> (<Field> <Value>)+)+ orgunit <OrgUnitItem>
|
||||||
|
gam print chromepolicy [todrive] [orgunit <OrgUnitItem>]
|
||||||
|
gam print chromeschema [todrive]
|
||||||
|
|
||||||
<DeviceID> ::= devices/<String>
|
<DeviceID> ::= devices/<String>
|
||||||
<DeviceType> ::= android|chrome_os|google_sync|ios|linux|mac_os|windows
|
<DeviceType> ::= android|chrome_os|google_sync|ios|linux|mac_os|windows
|
||||||
<DeviceUserID> ::= devices/<String>/deviceUsers/<String>
|
<DeviceUserID> ::= devices/<String>/deviceUsers/<String>
|
||||||
@@ -1332,7 +1337,7 @@ gam print group-members|groups-members [todrive]
|
|||||||
|
|
||||||
gam create userinvitation <EmailAddress>
|
gam create userinvitation <EmailAddress>
|
||||||
gam cancel userinvitation <EmailAddress>
|
gam cancel userinvitation <EmailAddress>
|
||||||
gam check userinvitation <EmailAddress>
|
gam check userinvitation|isinvitable <EmailAddress>
|
||||||
gam info userinvitation <EmailAddress>
|
gam info userinvitation <EmailAddress>
|
||||||
gam print userinvitations [todrive] [filter <String>]
|
gam print userinvitations [todrive] [filter <String>]
|
||||||
gam <UserTypeEntity> check isinvitable [todrive]
|
gam <UserTypeEntity> check isinvitable [todrive]
|
||||||
|
|||||||
@@ -6312,7 +6312,7 @@ def doCreateOrUpdateUserSchema(updateCmd):
|
|||||||
if myarg == 'type':
|
if myarg == 'type':
|
||||||
a_field['fieldType'] = sys.argv[i + 1].upper()
|
a_field['fieldType'] = sys.argv[i + 1].upper()
|
||||||
validTypes = [
|
validTypes = [
|
||||||
'BOOL', 'DOUBLE', 'EMAIL', 'INT64', 'PHONE', 'STRING'
|
'BOOL', 'DATE', 'DOUBLE', 'EMAIL', 'INT64', 'PHONE', 'STRING'
|
||||||
]
|
]
|
||||||
if a_field['fieldType'] not in validTypes:
|
if a_field['fieldType'] not in validTypes:
|
||||||
controlflow.expected_argument_exit(
|
controlflow.expected_argument_exit(
|
||||||
@@ -11606,7 +11606,7 @@ def ProcessGAMCommand(args):
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
elif command == 'check':
|
elif command == 'check':
|
||||||
argument = sys.argv[2].lower()
|
argument = sys.argv[2].lower()
|
||||||
if argument in ['userinvitation', 'userinvitations']:
|
if argument in ['isinvitable', 'userinvitation', 'userinvitations']:
|
||||||
gapi_cloudidentity_userinvitations.is_invitable_user()
|
gapi_cloudidentity_userinvitations.is_invitable_user()
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
elif command in ['cancelwipe', 'wipe', 'approve', 'block', 'sync']:
|
elif command in ['cancelwipe', 'wipe', 'approve', 'block', 'sync']:
|
||||||
|
|||||||
Reference in New Issue
Block a user