feat: distinguish managed platform users (#14207)
* feat: add isPlatformManaged property to user * do not allow deleting non managed users * refactor: rename managed user create and update inputs * refactor response code * feat: add isPlatformManaged when creating managed user * fix TS
This commit is contained in:
1 parent
bec1453148
commit
ef498c6ed6
12 files changed
+52
-27
No files matched your search
@@ -249,6 +249,7 @@ export const buildUser = <T extends Partial<UserPayload>>(
|
||||
receiveMonthlyDigestEmail: null,
|
||||
movedToProfileId: null,
|
||||
priority: user?.priority ?? null,
|
||||
isPlatformManaged: false,
|
||||
...user,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user