From 48481a106e212d57e83cb104bc6b8e2472f12bca Mon Sep 17 00:00:00 2001 From: Youngjin Jo Date: Mon, 30 Sep 2024 16:32:10 +0900 Subject: [PATCH] fix: modify code when update role type of USER Signed-off-by: Youngjin Jo --- src/spaceone/identity/service/workspace_group_user_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaceone/identity/service/workspace_group_user_service.py b/src/spaceone/identity/service/workspace_group_user_service.py index 3ac80d8..e868d55 100644 --- a/src/spaceone/identity/service/workspace_group_user_service.py +++ b/src/spaceone/identity/service/workspace_group_user_service.py @@ -245,7 +245,7 @@ def update_role( self.workspace_group_svc.check_role_type(role_type) self.workspace_group_svc.update_user_role_of_workspace_group( - role_id, role_type, user_id, workspace_group_id, domain_id + role_id, role_type, target_user_id, workspace_group_id, domain_id ) update_workspace_group_params = {"users": workspace_group_vo.users or []}