IAM: Add the implementation of the Update User API (#112054)
* wip * Add validate, wire mutate, add tests * Address copilot's feedback * Address feedback
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- name: update_org_user
|
||||
UPDATE {{ .Ident .OrgUserTable }}
|
||||
SET
|
||||
role = {{ .Arg .Command.Role }},
|
||||
updated = {{ .Arg .Command.Updated }}
|
||||
WHERE org_id = {{ .Arg .Command.OrgID }} AND user_id = {{ .Arg .Command.UserID }}
|
||||
Reference in New Issue
Block a user