# \[SOLVED\] Unable to delete messages

**URL:** https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538
**Category:** Troubleshooting
**Created:** [July 20, 2017, 9:08am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538 "2017-07-20T09:08:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![raphael.cazorla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/raphael.cazorla/32/1409_2.png) [@raphael.cazorla](https://forum.mattermost.com/u/raphael.cazorla)
#### Post date: [July 20, 2017, 9:08am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/1 "2017-07-20T09:08:48Z")

</div>

#### Summary

Whenever using the delete option on a message not belonging to the current user, it does not work.

#### Steps to reproduce

Try to delete a message from another user, the option to delete it is proposed, the confirm modal appears, but no action is done.  
The user trying the action is an administrator of the team/channel

#### Expected behavior

Really doing the delete action, or at least, do not propose it if not possible/intended to work this way.

#### Observed behavior

No error message and no deletion of the message.

---

<div class="post-metadata">

### Author: ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)
#### Post date: [July 24, 2017, 8:37am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/2 "2017-07-24T08:37:04Z")

</div>

Hi @raphael.cazorla,

Thanks for your feedback,

Could you share the version of Mattermost you have installed?

---

<div class="post-metadata">

### Author: ![raphael.cazorla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/raphael.cazorla/32/1409_2.png) [@raphael.cazorla](https://forum.mattermost.com/u/raphael.cazorla)
#### Post date: [July 24, 2017, 8:54am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/3 "2017-07-24T08:54:07Z")

</div>

Hi @lindy65,

Of course, here is the version linked to the bug: CE 4.0.1

---

<div class="post-metadata">

### Author: ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)
#### Post date: [July 24, 2017, 6:18pm UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/4 "2017-07-24T18:18:10Z")

</div>

Hi @raphael.cazorla,

Thanks for the feedback,

By “CE 4.0.1” do you mean Team Edition? Could you share a screenshot of your “About Mattermost” screen please? (3-bar main menu \> About Mattermost)

I have tried on numerous servers running different versions of Mattermost and am not able to repro your issue. As a team / channel admin, I am able to delete someone else’s message (behaves as expected).

---

<div class="post-metadata">

### Author: ![raphael.cazorla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/raphael.cazorla/32/1409_2.png) [@raphael.cazorla](https://forum.mattermost.com/u/raphael.cazorla)
#### Post date: [July 25, 2017, 8:06am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/5 "2017-07-25T08:06:02Z")

</div>

Yep, sorry, I’m used to general wording of tools.  
So yes, Team Edition, 4.0.1.

For the record, I noticed that in the system logs (/admin\_console/logs), I repeatedely had this log:  
`You do not have the appropriate permissions [details: userId=XXX, permission=delete_others_posts`

And I have to add this information:  
This happens whenever an admin of the team tries to delete a post from a direct message channel.  
The message really disappears after confirming deletion, but it reappears on refresh of channel.  
And this error is sent in the logs.

So I guess, normal behavior ?  
An admin can’t delete a post in a direct message channel that belongs to a user?

---

<div class="post-metadata">

### Author: ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)
#### Post date: [July 27, 2017, 8:12am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/6 "2017-07-27T08:12:23Z")

</div>

Thanks for the feedback @raphael.cazorla,

Yes, expected behavior on Team Edition.

On enterprise edition, it’s possible to set up more specific permissions via the system console.

---

<div class="post-metadata">

### Author: ![raphael.cazorla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/raphael.cazorla/32/1409_2.png) [@raphael.cazorla](https://forum.mattermost.com/u/raphael.cazorla)
#### Post date: [July 27, 2017, 8:58am UTC](https://forum.mattermost.com/t/solved-unable-to-delete-messages/3538/7 "2017-07-27T08:58:33Z")

</div>

Ok, thanks, I close this non-bug topic 😉
