Skip to content

Commit 6f64081

Browse files
author
Nivedithaa Mahendran
committed
update
1 parent b7515a7 commit 6f64081

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/mas/devops/users.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -442,12 +442,11 @@ def set_user_group_reassignment_auth(self, resource_id, groupreassign, manage_ap
442442
}
443443

444444
payload = {
445-
"maxuser": [
446-
{
447-
"grpreassignauth": groupreassign
448-
}
449-
]
445+
"maxuser": {
446+
"grpreassignauth": groupreassign
447+
}
450448
}
449+
self.logger.info(f"Sending PATCH request to {url} with payload: {payload}")
451450

452451
response = requests.post(
453452
url,
@@ -1467,6 +1466,7 @@ def create_initial_users_for_saas(self, initial_users):
14671466

14681467
all_security_groups = self.get_all_manage_groups()
14691468
groupreassign = [{"groupname": group} for group in all_security_groups]
1469+
self.logger.info(f"Group reassign: {groupreassign}")
14701470

14711471
for primary_user in primary_users:
14721472
self.logger.info("")

0 commit comments

Comments
 (0)