gam7 7.14.2__py3-none-any.whl → 7.14.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gam/__init__.py +7 -3
- {gam7-7.14.2.dist-info → gam7-7.14.3.dist-info}/METADATA +1 -1
- {gam7-7.14.2.dist-info → gam7-7.14.3.dist-info}/RECORD +6 -6
- {gam7-7.14.2.dist-info → gam7-7.14.3.dist-info}/WHEEL +0 -0
- {gam7-7.14.2.dist-info → gam7-7.14.3.dist-info}/entry_points.txt +0 -0
- {gam7-7.14.2.dist-info → gam7-7.14.3.dist-info}/licenses/LICENSE +0 -0
gam/__init__.py
CHANGED
|
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
|
28
|
-
__version__ = '7.14.
|
|
28
|
+
__version__ = '7.14.03'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -6011,7 +6011,11 @@ def getCIGroupMemberRoleFixType(member):
|
|
|
6011
6011
|
def getCIGroupTransitiveMemberRoleFixType(groupName, tmember):
|
|
6012
6012
|
''' map transitive member to normal member '''
|
|
6013
6013
|
tid = tmember['preferredMemberKey'][0].get('id', GC.Values[GC.CUSTOMER_ID]) if tmember['preferredMemberKey'] else ''
|
|
6014
|
-
|
|
6014
|
+
if '/' in tmember['member']:
|
|
6015
|
+
ttype, tname = tmember['member'].split('/')
|
|
6016
|
+
else:
|
|
6017
|
+
ttype = ''
|
|
6018
|
+
tname = tmember['member']
|
|
6015
6019
|
member = {'name': f'{groupName}/membershipd/{tname}', 'preferredMemberKey': {'id': tid}}
|
|
6016
6020
|
if 'type' not in tmember:
|
|
6017
6021
|
if tid == GC.Values[GC.CUSTOMER_ID]:
|
|
@@ -37096,7 +37100,7 @@ def getCIGroupTransitiveMembers(ci, groupName, membersList, i, count):
|
|
|
37096
37100
|
entityUnknownWarning(Ent.CLOUD_IDENTITY_GROUP, groupName, i, count)
|
|
37097
37101
|
return False
|
|
37098
37102
|
except GAPI.permissionDenied as e:
|
|
37099
|
-
|
|
37103
|
+
entityActionFailedWarning([Ent.CLOUD_IDENTITY_GROUP, groupName], str(e))
|
|
37100
37104
|
return False
|
|
37101
37105
|
for member in groupMembers:
|
|
37102
37106
|
membersList.append(getCIGroupTransitiveMemberRoleFixType(groupName, member))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=h-sARZC4rMMSCDscJFJkNoHVq-NwjLbJr8HJe9sRpEQ,3571533
|
|
2
2
|
gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
|
|
3
3
|
gam/cacerts.pem,sha256=82Ak7btW_2XvocLUvAwPmpx8Chi0oqtZUG1gseLK_t4,50235
|
|
4
4
|
gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
|
|
@@ -65,8 +65,8 @@ gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPl
|
|
|
65
65
|
gam/googleapiclient/discovery_cache/file_cache.py,sha256=sim3Mg4HgRYo3vX75jvcKy_aV568EvIrtBfvfbw-044,4774
|
|
66
66
|
gam/iso8601/__init__.py,sha256=Z2PsYbXgAH5a5xzUvgczCboPzqWpm65kRcIngCnhViU,1218
|
|
67
67
|
gam/iso8601/iso8601.py,sha256=Li2FHZ4sBTWuthuQhyCvmvj0j6At8JbGzkSv2fc2RHU,4384
|
|
68
|
-
gam7-7.14.
|
|
69
|
-
gam7-7.14.
|
|
70
|
-
gam7-7.14.
|
|
71
|
-
gam7-7.14.
|
|
72
|
-
gam7-7.14.
|
|
68
|
+
gam7-7.14.3.dist-info/METADATA,sha256=D0VjECWHOi23ojk_rEdOqTpmpylRZGrJgbp3HsKGa-Y,2940
|
|
69
|
+
gam7-7.14.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.14.3.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.14.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.14.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|