I have noticed that users can edit their own comments, but they cannot delete their own comments. Only the administrators can do that.

How can I allow users to delete their own comments?

thanks in advance

Comments

cog.rusty’s picture

Try the usercomment module

http://drupal.org/project/usercomment

drupalina’s picture

Actually, I have it installed already. It doesn't help.

panvera’s picture

Pan Vera
CNVC

drupalina’s picture

No. I never found anything.

Would be nice to have a solution for something so simple.

vm’s picture

Not so simple.

Because comments are threaded. If a users deletes a comment that has other comments attached to it, all of those attached comments also get deleted.

I don't see why usercomment.module doesn't fit the bill here. Could you be a little more verbose than "it doesn't work" ?

drupalina’s picture

"[Usercomment] module lets users delete comments on nodes they create without giving them full comment administration access. Permissions are on a per node type basis, so it's a great way to, e.g., allow users to administer comments on their own blogs."

So if Mary comments on Tom's node and then decides to delete her own comment, usercomment module won't help

But Tom can delete Mary's comment because it was his node that she commented on.

---
What is needed is a permission for Mary to delete her own comments _anywhere_ (of course as long as no replies have yet been posted). And usercomment module doesn't adress that.

cog.rusty’s picture

You are right of course.

This is discussed for Drupal 7 in http://drupal.org/node/10700
There is also a user-supplied patch for Drupal 5 in http://drupal.org/node/350488

veronicamtz’s picture

for Drupal 6?

vm’s picture

I see. That desire wasn't apparent from your original post as it only mentions deletion of comment not deletion of comments under specific conditions.

taqwa’s picture

I could also use this functionality

earwax’s picture

It's 2012 and Drupal 7 still can't do this. Maybe in Drupal 8 this will be be available. Afterall, it is tricky to allow a user to delete threaded comments by other users that they don't have permission to delete.