Stop Users Deleting Topics
-
@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.
-
ACP Setting: Prevent deletion of topics by OP if # of posts exceed X · Issue #4919 · NodeBB/NodeBB
ex., if X = 1 then the ability to delete a topic is locked after the first reply
GitHub (github.com)
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:
ACP Setting: Prevent deletion of topics by OP if # of posts exceed X · Issue #4919 · NodeBB/NodeBB
ex., if X = 1 then the ability to delete a topic is locked after the first reply
GitHub (github.com)
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
-
@baris said in Stop Users Deleting Topics:
This is coming in the next release https://github.com/NodeBB/NodeBB/commit/037b901e8519a41d896b69d261ebbff1b9262a3f
Awesome, thanks. So 1.1.3? We got up to 1.1.2 last night (we went to 1.1.2 like minutes after it showed up
-
@exodo said in Stop Users Deleting Topics:
@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
Will look into this. Backend already has support for this I think.
-
@baris said in Stop Users Deleting Topics:
@exodo said in Stop Users Deleting Topics:
@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
Will look into this. Backend already has support for this I think.
We just block user deletion. We dont want all of their posts reverting to "guest" or disappearing. That's more complex. It makes threads make no sense and is very confusing if it changes after it has been there.