fix(auth): allow admins to change any username including their own
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m6s
ci / ts / ts (packages + web) (push) Successful in 2m59s
ci / api / api (push) Successful in 49s
ci / db / db (push) Successful in 1m17s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m25s

This commit is contained in:
mrleo1nid committed 2026-10-21 17:33:19 +03:00
1 parent b0cbd0f149
commit c34272d508
16 files changed
+431 -266

No files matched your search

@@ -1705,6 +1705,8 @@ export interface components {
temporary_password: string;
};
UpdateUserRequest: {
/** @description Новый логин. Может менять только администратор, в том числе у себя */
username?: string;
/** @description Пустая строка — сбросить имя */
display_name?: string;
role?: components["schemas"]["Role"];