EmbeddedChat
EmbeddedChat copied to clipboard
fix: ensure delete option in files is available to authorized users only
Brief Title
Restrict Delete Icon Visibility to Authorized Users in File List
Acceptance Criteria fulfillment
- [x] Ensure the delete icon is only visible to users with delete permissions.
- [x] Verify that users without delete permissions do not see the delete icon in the file list.
Fixes #803
Video/Screenshots
https://github.com/user-attachments/assets/969de8e0-0009-41ca-b994-f7d8e7715f86
PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-839 after approval. Contributors are requested to replace <pr_number> with the actual PR number.