From 001d542b317d9bf595ddc867882ecc0199bf274a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Herbinet?= <33763786+Jerome-Herbinet@users.noreply.github.com> Date: Wed, 9 Sep 2026 15:33:30 +0200 Subject: [PATCH] fix(ux): More relevant wordings (participant rights) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> More relevant wordings (participant rights) Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Some more consistant wordings Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> --- docs/react-permission-integration.md | 4 ++-- src/components/PermissionsEditor/PermissionsEditor.vue | 4 ++-- .../Participants/ParticipantPermissionsEditor.spec.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/react-permission-integration.md b/docs/react-permission-integration.md index f3f8b0f8a4f..325378abf24 100644 --- a/docs/react-permission-integration.md +++ b/docs/react-permission-integration.md @@ -50,7 +50,7 @@ The backend migration automatically grants the REACT permission to all users who ## UI Changes The permissions editor should show two separate checkboxes: -- "Can post messages" (CHAT - 128) -- "Can add reactions" (REACT - 256) +- "Post messages" (CHAT - 128) +- "Add reactions" (REACT - 256) Instead of the previous combined "Can post messages and reactions" checkbox. diff --git a/src/components/PermissionsEditor/PermissionsEditor.vue b/src/components/PermissionsEditor/PermissionsEditor.vue index f74072dcec1..1bf96d8b38d 100644 --- a/src/components/PermissionsEditor/PermissionsEditor.vue +++ b/src/components/PermissionsEditor/PermissionsEditor.vue @@ -28,13 +28,13 @@ - {{ hasReactPermissions ? t('spreed', 'Can post messages') : t('spreed', 'Can post messages and reactions') }} + {{ hasReactPermissions ? t('spreed', 'Post messages') : t('spreed', 'Post messages and reactions') }} - {{ t('spreed', 'Can add reactions') }} + {{ t('spreed', 'Add reactions') }} { const permissionsMap = [ { label: 'Start a call', value: !!(permissions & PARTICIPANT.PERMISSIONS.CALL_START) }, { label: 'Skip the lobby', value: !!(permissions & PARTICIPANT.PERMISSIONS.LOBBY_IGNORE) }, - { label: 'Can post messages', value: !!(permissions & PARTICIPANT.PERMISSIONS.CHAT) }, - { label: 'Can add reactions', value: !!(permissions & PARTICIPANT.PERMISSIONS.REACT) }, + { label: 'Post messages', value: !!(permissions & PARTICIPANT.PERMISSIONS.CHAT) }, + { label: 'Add reactions', value: !!(permissions & PARTICIPANT.PERMISSIONS.REACT) }, { label: 'Enable the microphone', value: !!(permissions & PARTICIPANT.PERMISSIONS.PUBLISH_AUDIO) }, { label: 'Enable the camera', value: !!(permissions & PARTICIPANT.PERMISSIONS.PUBLISH_VIDEO) }, { label: 'Share the screen', value: !!(permissions & PARTICIPANT.PERMISSIONS.PUBLISH_SCREEN) },