mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Compare commits
3 Commits
v7.03.03
...
20250205.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a42eebdae1 | ||
|
|
05333d9521 | ||
|
|
b04ba4b618 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -129,7 +129,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
cache.tar.xz
|
cache.tar.xz
|
||||||
key: gam-${{ matrix.jid }}-20250116
|
key: gam-${{ matrix.jid }}-20250204
|
||||||
|
|
||||||
- name: Untar Cache archive
|
- name: Untar Cache archive
|
||||||
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
||||||
|
|||||||
@@ -3927,8 +3927,11 @@ gam print group-members [todrive <ToDriveAttribute>*]
|
|||||||
updatetime
|
updatetime
|
||||||
<CIGroupFieldNameList> ::= "<CIGroupFieldName>(,<CIGroupFieldName>)*"
|
<CIGroupFieldNameList> ::= "<CIGroupFieldName>(,<CIGroupFieldName>)*"
|
||||||
|
|
||||||
gam create cigroup <EmailAddress> [copyfrom <GroupItem>] <GroupAttribute>*
|
gam create cigroup <EmailAddress>
|
||||||
[makeowner] [alias|aliases <CIGroupAliasList>] [dynamic <QueryDynamicGroup>]
|
[copyfrom <GroupItem>] <GroupAttribute>*
|
||||||
|
[makeowner] [alias|aliases <CIGroupAliasList>]
|
||||||
|
[security|makesecuritygroup]
|
||||||
|
[dynamic <QueryDynamicGroup>]
|
||||||
gam update cigroup <GroupEntity> [copyfrom <GroupItem>] <GroupAttribute>
|
gam update cigroup <GroupEntity> [copyfrom <GroupItem>] <GroupAttribute>
|
||||||
[security|makesecuritygroup|
|
[security|makesecuritygroup|
|
||||||
dynamicsecurity|makedynamicsecuritygroup|
|
dynamicsecurity|makedynamicsecuritygroup|
|
||||||
@@ -4515,7 +4518,7 @@ gam report users|user [todrive <ToDriveAttribute>*]
|
|||||||
(country|countrycode <String>)
|
(country|countrycode <String>)
|
||||||
|
|
||||||
gam create|add resoldcustomer <CustomerDomain> (customer_auth_token <String>) <ResoldCustomerAttribute>+
|
gam create|add resoldcustomer <CustomerDomain> (customer_auth_token <String>) <ResoldCustomerAttribute>+
|
||||||
gam update resoldcustomer <CustomerID> [customer_auth_token <String>] <ResoldCustomerAttribues>+
|
gam update resoldcustomer <CustomerID> <ResoldCustomerAttribues>+
|
||||||
gam info resoldcustomer <CustomerID> [formatjson]
|
gam info resoldcustomer <CustomerID> [formatjson]
|
||||||
|
|
||||||
gam create|add resoldsubscription <CustomerID> (sku <SKUID>)
|
gam create|add resoldsubscription <CustomerID> (sku <SKUID>)
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
7.03.04
|
||||||
|
|
||||||
|
Added option `security` to `gam create cigroup` that allows creation of a security group
|
||||||
|
in a single command.
|
||||||
|
|
||||||
|
Updated to Python 3.13.2 where possible.
|
||||||
|
|
||||||
7.03.03
|
7.03.03
|
||||||
|
|
||||||
Fixed bug in `gam update resoldcustomer` that caused the following error:
|
Fixed bug in `gam update resoldcustomer` that caused the following error:
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
||||||
__version__ = '7.03.03'
|
__version__ = '7.03.04'
|
||||||
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
#pylint: disable=wrong-import-position
|
#pylint: disable=wrong-import-position
|
||||||
@@ -15106,7 +15106,7 @@ def doCreateResoldCustomer():
|
|||||||
except (GAPI.badRequest, GAPI.resourceNotFound, GAPI.forbidden, GAPI.invalid) as e:
|
except (GAPI.badRequest, GAPI.resourceNotFound, GAPI.forbidden, GAPI.invalid) as e:
|
||||||
entityActionFailedWarning([Ent.CUSTOMER_DOMAIN, body['customerDomain']], str(e))
|
entityActionFailedWarning([Ent.CUSTOMER_DOMAIN, body['customerDomain']], str(e))
|
||||||
|
|
||||||
# gam update resoldcustomer <CustomerID> [customer_auth_token <String>] <ResoldCustomerAttribute>+
|
# gam update resoldcustomer <CustomerID> <ResoldCustomerAttribute>+
|
||||||
def doUpdateResoldCustomer():
|
def doUpdateResoldCustomer():
|
||||||
res = buildGAPIObject(API.RESELLER)
|
res = buildGAPIObject(API.RESELLER)
|
||||||
customerId = getString(Cmd.OB_CUSTOMER_ID)
|
customerId = getString(Cmd.OB_CUSTOMER_ID)
|
||||||
@@ -15133,6 +15133,7 @@ def doInfoResoldCustomer():
|
|||||||
customerId=customerId)
|
customerId=customerId)
|
||||||
if not FJQC.formatJSON:
|
if not FJQC.formatJSON:
|
||||||
printKeyValueList(['Customer ID', customerInfo['customerId']])
|
printKeyValueList(['Customer ID', customerInfo['customerId']])
|
||||||
|
printKeyValueList(['Customer Type', customerInfo['customerType']])
|
||||||
printKeyValueList(['Customer Domain', customerInfo['customerDomain']])
|
printKeyValueList(['Customer Domain', customerInfo['customerDomain']])
|
||||||
if 'customerDomainVerified' in customerInfo:
|
if 'customerDomainVerified' in customerInfo:
|
||||||
printKeyValueList(['Customer Domain Verified', customerInfo['customerDomainVerified']])
|
printKeyValueList(['Customer Domain Verified', customerInfo['customerDomainVerified']])
|
||||||
@@ -31731,6 +31732,8 @@ def doCreateGroup(ciGroupsAPI=False):
|
|||||||
'query': getString(Cmd.OB_QUERY)})
|
'query': getString(Cmd.OB_QUERY)})
|
||||||
elif ciGroupsAPI and myarg == 'makeowner':
|
elif ciGroupsAPI and myarg == 'makeowner':
|
||||||
initialGroupConfig = 'WITH_INITIAL_OWNER'
|
initialGroupConfig = 'WITH_INITIAL_OWNER'
|
||||||
|
elif ciGroupsAPI and myarg in {'security', 'makesecuritygroup'}:
|
||||||
|
body['labels'][CIGROUP_SECURITY_LABEL] = ''
|
||||||
elif myarg == 'verifynotinvitable':
|
elif myarg == 'verifynotinvitable':
|
||||||
verifyNotInvitable = True
|
verifyNotInvitable = True
|
||||||
else:
|
else:
|
||||||
@@ -34607,8 +34610,11 @@ def doPrintShowGroupTree():
|
|||||||
if csvPF:
|
if csvPF:
|
||||||
csvPF.writeCSVfile('Group Tree')
|
csvPF.writeCSVfile('Group Tree')
|
||||||
|
|
||||||
# gam create cigroup <EmailAddress> [copyfrom <GroupItem>] <GroupAttribute>
|
# gam create cigroup <EmailAddress>
|
||||||
# [makeowner] [alias|aliases <CIGroupAliasList>] [dynamic <QueryDynamicGroup>]
|
# [copyfrom <GroupItem>] <GroupAttribute>
|
||||||
|
# [makeowner] [alias|aliases <CIGroupAliasList>]
|
||||||
|
# [security|makesecuritygroup]
|
||||||
|
# [dynamic <QueryDynamicGroup>]
|
||||||
def doCreateCIGroup():
|
def doCreateCIGroup():
|
||||||
doCreateGroup(ciGroupsAPI=True)
|
doCreateGroup(ciGroupsAPI=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user