Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

[BUG] Admin cannot delete messages from other users #1760

Closed

Description

@localguru

Description

A user with the role "admin" cannot delete messages from other users in a channel/room. This is possible in browser or in the Electron client.

Editing a message of another user as admin is possible.

Own messages can be deleted.

It should be tested whether this also applies to the roles "moderator" and "owner" if they have the authorization to delete messages.

Devices and Versions

Your Rocket.Chat.Android version: 2.6.1
Your Rocket.Chat Server version: 0.69.2

Mobile device model and OS version: BQ Aquaris X5 Plus and Android 7.1.1

Steps to reproduce

  1. log in to the Android App as a user with admin role
  2. try to delete a message written shortly before by another user.
  3. the message is not deleted; no error message.
  4. repeat steps 1 and 2 in the browser or Electron Client. The message will be deleted (but will still be displayed in the Android app, bug [BUG] Channels do not update properly #1754)

Activity

  1. changed the title [-]Admin cannot delete messages from other users[/-] [+][BUG] Admin cannot delete messages from other users[/+] on Oct 13, 2018
  2. added this to the 3.1.0 milestone on Oct 16, 2018
  3. leonardoaramaki commented on Oct 25, 2018

    @leonardoaramaki
    Contributor

    @localguru Thanks for sharing with us this issue.
    We investigated it internally and we found out that there's an old bug on the chat.delete REST endpoint.
    A fix was released for this and it should be available on the next release for the platform.
    You can follow it here: RocketChat/Rocket.Chat#12408
    I'm closing this now, until we get to next release.
    As always, feel free to reopen it again if you feel there's something else we missed.

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions