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:
Misi
2025-10-13 10:00:18 +02:00
committed by GitHub
parent 85174e3313
commit bd1dbb68ba
21 changed files with 820 additions and 22 deletions
@@ -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 }}