Updated: Comment #44
Users cannot delete their own comments if they do not have permission to delete comments. Allowing users to unconditionally edit/delete their comments can lead to broken or incomprehensible threads if users change their original posts once other users have replied to them.
Preventing users from deleting comments at all leads to a few issues:
- Duplicate posts cannot be removed by end-users
- Users expect to be able to delete comments that they have very recently posted
Allow comments to be configured so that users can delete their own comments if no further replies have been posted to the thread that may be in response to that comment.
- Decide whether this behaviour should be default, controlled globally by permissions or a combination of permissions and field level configuration
- Followup issue: Allowing users to "delete" comments that have replies by replacing the body of the comment with a "this comment has been deleted" notice
- Followup issue: Allow editing of comments without replies
- Followup issue: Ability to "flatten" threaded comments
User interface changes
Users will see a link that allows them to delete comments that have no replies.
It's possible a new permission will be added to manage the new behaviour.
Original report by @ixis.dylan
It would be great if users could delete their own comments. It would reduce the number of double-posts and is expected by a lot of forum users.
A feature request for this feature request would be a configurable time limit after which comments can no longer be deleted (or edited).