Stop Users Deleting Topics
-
I thought that this was blocked, but apparently not. Is there a way to block users from being able to delete a topic? I can't find an option for it, but it is important as we have users sometimes start a thread, not like the info that they get and delete everyone else's posts to get rid of their original one, which of course is not okay at all. Is there just a switch that I am missing?
-
Not specific to just topics, but there is an option in Admin -> Settings -> Post for
Number of seconds users are allowed to delete posts after posting
. There is also a setting for editing as well. Would that help? -
@scottalanmiller don't think NodeBB lets users delete other users posts (unless they are an admin or a mod). It does let the topic starter to delete their own topics.
There is an issue for this on the repo... https://github.com/NodeBB/NodeBB/issues/4631
and a PR to change/fix this... https://github.com/NodeBB/NodeBB/pull/4909
-
@pichalite said in Stop Users Deleting Topics:
@scottalanmiller don't think NodeBB lets users delete other users posts (unless they are an admin or a mod). It does let the topic starter to delete their own topics.
It does. It's happened twice this week.
-
@pichalite said in Stop Users Deleting Topics:
It does let the topic starter to delete their own topics.
Which, in turn, deletes all of the posts on that thread. We've had a lot of peoples' stuff deleted this week.
-
@psychobunny said in Stop Users Deleting Topics:
Not specific to just topics, but there is an option in Admin -> Settings -> Post for
Number of seconds users are allowed to delete posts after posting
. There is also a setting for editing as well. Would that help?It's set to zero and they can still delete both their own AND other peoples' posts!
-
@scottalanmiller do you have a screenshot or something that shows users seeing the option to delete other user's posts?
-
@scottalanmiller zero means... disable the option (let users delete posts whenever they want). Setting it to say "1" will not let the poster delete it after 1 seconds of post creation.
-
@pichalite said in Stop Users Deleting Topics:
@scottalanmiller do you have a screenshot or something that shows users seeing the option to delete other user's posts?
What is needed? It's the ability to delete a topic. Hasn't that already been established that that is there? WHen you delete a topic, all associated posts by any person are all deleted with it. What more info do you need from a screenshot?
-
@pichalite said in Stop Users Deleting Topics:
@scottalanmiller do you have a screenshot or something that shows users seeing the option to delete other user's posts?
There you go. If that user deletes that thread, the other person's post gets deleted, too.
-
@scottalanmiller I am just clearing the confusion. Of course deleting a topic will delete all the posts in the topic (what else did you expect?) but deleting a post itself is a different feature by itself (as in, you can delete individual posts).
-
It's set to zero and they can still delete both their own AND other peoples' posts!
When it's set to zero, it's disabled.
What I was thinking was adding a new option where
if replies > X, prevent deletion of the topic
- so if you set it to 1 for example, after the first reply the topic won't be able to be deleted unless it's an admin/mod -
@psychobunny said in Stop Users Deleting Topics:
It's set to zero and they can still delete both their own AND other peoples' posts!
When it's set to zero, it's disabled.
What I was thinking was adding a new option where
if replies > X, prevent deletion of the topic
- so if you set it to 1 for example, after the first reply the topic won't be able to be deleted unless it's an admin/modindeed :octocat:
-
@pichalite said in Stop Users Deleting Topics:
@scottalanmiller I am just clearing the confusion. Of course deleting a topic will delete all the posts in the topic (what else did you expect?) but deleting a post itself is a different feature by itself (as in, you can delete individual posts).
But we don't want them to be able to delete threads OR other people's posts! How did it get allowed that they can delete other people's posts, is the issue! I totally expect that to happen if a thread is deleted, which is why I expect them not to be able to delete threads!
-
@psychobunny said in Stop Users Deleting Topics:
It's set to zero and they can still delete both their own AND other peoples' posts!
When it's set to zero, it's disabled.
What I was thinking was adding a new option where
if replies > X, prevent deletion of the topic
- so if you set it to 1 for example, after the first reply the topic won't be able to be deleted unless it's an admin/modYes, that would work great. I totally get wanting to be able to delete before anyone responds. But better to block that than to have busy threads with lots of effort put into them just vanish on users.
-
https://github.com/NodeBB/NodeBB/issues/4919
In the meantime, have a look at the other setting I mentioned - if you set it to something reasonable like 5 minutes I think that would be a decent stopgap.
-
@psychobunny said in Stop Users Deleting Topics:
https://github.com/NodeBB/NodeBB/issues/4919
In the meantime, have a look at the other setting I mentioned - if you set it to something reasonable like 5 minutes I think that would be a decent stopgap.
What would that change? We've not seen any deletions quickly, they are much later. Wouldn't five minutes only make it easier to delete other things?
-
If you set it to 5 minutes, then after 5 minutes you would not be able to delete your post. Definitely what you really need is the GH issue I mentioned above. Expect that in 1.1.2
-
@baris said in Stop Users Deleting Topics:
This is coming in the next release https://github.com/NodeBB/NodeBB/commit/037b901e8519a41d896b69d261ebbff1b9262a3f
amazing work
can this be extended to user delete? deleting user should delete only his own post but not entire threads or give options to several situations probably