Please include the following information when submitting a bug report/issue:
Thank you!
Was that user the poster? That would be expected behavior currently, maybe purge instead?
Yes. Of course was the poster.
purge is radical. Is important that another mod or admin can check also the post and restore it if needed.
I cant understand that to be a expected behavior
I think what @exomarty is trying to get at is that if a mod or admin deletes a post, that should not allow the author to _un_delete it, as it was probably deleted for a reason (e.g. spam, offensive, etc)
Correct @julianlam
@barisusakli Perhaps "Restore post" should be a privilege too?
I think topic posters should not be allowed to delete, restore or purge their posts. That part should be left to admins/mods.
If delete privilege also meant you could/could not restore posts, I think I'd be ok with that.
Yeah the privilege for delete posts should also apply to restore. This should be a marked as a bug.
If delete privilege also meant you could/could not restore posts, I think I'd be ok with that.
Yeah the privilege for delete posts should also apply to restore. This should be a marked as a bug.
This is already the case. If you remove the delete privilege from registered users they can't delete or restore their posts.
https://github.com/NodeBB/NodeBB/blob/master/src/posts/tools.js#L37-Lundefined
Most helpful comment
I think what @exomarty is trying to get at is that if a mod or admin deletes a post, that should not allow the author to _un_delete it, as it was probably deleted for a reason (e.g. spam, offensive, etc)