File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def get_groups(self):
151
151
152
152
def iter_groups (self ):
153
153
try :
154
- for g in umapi_client .UserGroupsQuery (self .connection ):
154
+ for g in umapi_client .GroupsQuery (self .connection ):
155
155
yield g
156
156
except umapi_client .UnavailableError as e :
157
157
raise AssertionException ("Error contacting UMAPI server: %s" % e )
Original file line number Diff line number Diff line change @@ -472,10 +472,10 @@ def sync_umapi_groups(self, umapi_connectors):
472
472
umapi_info , umapi_connector = self .get_umapi_info (PRIMARY_UMAPI_NAME ), umapi_connectors .get_primary_connector ()
473
473
mapped_groups = umapi_info .get_non_normalize_mapped_groups ()
474
474
#pull all user groups from console
475
- on_adobe_user_groups = [normalize_string (group ['name ' ]) for group in umapi_connector .get_groups ()]
475
+ on_adobe_groups = [normalize_string (group ['groupName ' ]) for group in umapi_connector .get_groups ()]
476
476
#verify if group exist
477
477
for mapped_group in mapped_groups :
478
- if not normalize_string (mapped_group ) in on_adobe_user_groups :
478
+ if not normalize_string (mapped_group ) in on_adobe_groups :
479
479
self .logger .info ("Auto create user-group enabled: Creating %s" % mapped_group )
480
480
try :
481
481
# create group
You can’t perform that action at this time.
0 commit comments