From 6701c25fc901073c04f7a22b9afd0d2a4f3fd8c7 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 3 Aug 2022 15:16:26 +0100 Subject: [PATCH] Fix users invited by email not being able to take priveleged roles --- .../portal/manage/users/[userId].svelte | 2 +- .../users/_components/AddUserModal.svelte | 8 +++-- .../_components/RoleTableRenderer.svelte | 4 ++- .../builder/portal/manage/users/index.svelte | 13 ++++---- packages/builder/src/stores/portal/users.js | 8 ++--- packages/frontend-core/src/api/user.js | 16 +++++----- packages/frontend-core/src/constants.js | 20 ++++++++----- .../src/api/controllers/global/users.ts | 30 ++++++++++--------- .../worker/src/api/routes/global/users.js | 10 ++++--- 9 files changed, 61 insertions(+), 50 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte index 87309f9b29..8f7b24f1b6 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte @@ -275,7 +275,7 @@