From e87e928144715bdbd90f6e541a4545a280dddc96 Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Tue, 28 Nov 2023 15:11:02 +0100 Subject: [PATCH] fix(editor): Remove ability for users to select admin role in the UI (no-changelog) (#7850) --- .../src/components/InviteUsersModal.vue | 4 ---- .../editor-ui/src/views/SettingsUsersView.vue | 18 +----------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/packages/editor-ui/src/components/InviteUsersModal.vue b/packages/editor-ui/src/components/InviteUsersModal.vue index 5082def427..6747762af4 100644 --- a/packages/editor-ui/src/components/InviteUsersModal.vue +++ b/packages/editor-ui/src/components/InviteUsersModal.vue @@ -132,10 +132,6 @@ export default defineComponent({ value: ROLE.Member, label: this.$locale.baseText('auth.roles.member'), }, - { - value: ROLE.Admin, - label: this.$locale.baseText('auth.roles.admin'), - }, ], capitalize: true, }, diff --git a/packages/editor-ui/src/views/SettingsUsersView.vue b/packages/editor-ui/src/views/SettingsUsersView.vue index 9bff8d74dd..e408b88bf7 100644 --- a/packages/editor-ui/src/views/SettingsUsersView.vue +++ b/packages/editor-ui/src/views/SettingsUsersView.vue @@ -52,23 +52,7 @@ @copyPasswordResetLink="onCopyPasswordResetLink" @allowSSOManualLogin="onAllowSSOManualLogin" @disallowSSOManualLogin="onDisallowSSOManualLogin" - > - - + />