Skip to content

fix: ensure messageBox and Toolbox are not visible to unauthorized users in read-only room#874

Closed
SinghaAnirban005 wants to merge 1 commit intoRocketChat:developfrom
SinghaAnirban005:read-only
Closed

fix: ensure messageBox and Toolbox are not visible to unauthorized users in read-only room#874
SinghaAnirban005 wants to merge 1 commit intoRocketChat:developfrom
SinghaAnirban005:read-only

Conversation

@SinghaAnirban005
Copy link
Contributor

@SinghaAnirban005 SinghaAnirban005 commented Jan 12, 2025

Brief Title

Unauthorized Users in Read-Only Channels Can Access Message Toolbox and React with Emojis

Acceptance Criteria fulfillment

  • Revise the canSendMsg global state
  • Ensure that users in read-only channels cannot access the message toolbox.

Fixes #868

Video/Screenshots

EmbeddedChat._.Simple.-.Simple.Storybook.-.Brave.2025-01-12.21-54-48.mp4

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-874 after approval. Contributors are requested to replace <pr_number> with the actual PR number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Users in Read-Only Channels Can Access Message Toolbox and Send Emojis

2 participants