nextcloud / nextcloud/spreed

Prevent users from deleting their own messages

Open
#5,387 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: chat 💬
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

Description

Is there a way to disable the delete function in Talk (on web and mobile) for certain users?

If there is not, I would like to request that this be added because many companies need to audit their internal communications. Sometimes it is a legal requirement and general users need to be prevented from deleting messages.

Many other chat services offer this, from Slack to Rocket.Chat.

I could do this on web by just using CSS to hide the delete button. But this is needed on mobile as well.

Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request covers Talk message deletion on both web and mobile, but names no files, tests, or entry points. Start by locating the existing deletion flow and permission model, then determine how selected users are represented; done means deletion can be prevented consistently on both surfaces and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.