Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission to purge your posts should be separate from edit permission. #2330

Closed
dwendt opened this issue Oct 31, 2014 · 5 comments
Closed
Assignees
Milestone

Comments

@dwendt
Copy link
Contributor

dwendt commented Oct 31, 2014

I believe the code in question is here:

privileges.posts.canEdit(pid, uid, function(err, canEdit) {

Allowing users to perma-delete their own posts is super abusable. It should be its own permission, off by default for registered users imo. You could say that they could just edit the content of their post out -- but at least I could have a plugin keep track of every post edit and give me a history to restore that post back to.

Doesn't seem like there are group-level permissions yet, so it'd need to be a checkbox under users I guess.

@barisusakli
Copy link
Member

Maybe edit and delete should be options like create topics, post reply permissions in manage/categories. Then it can be assigned based on categories/groups as well.

@dwendt
Copy link
Contributor Author

dwendt commented Nov 12, 2014

Yeah that sounds good, though "delete" and "purge" should still be separate. One has no chance of recovery of the post by an admin without plugins, the other is sorta safe.

@rdelcampog
Copy link

@barisusakli Sorry for the duplicate issue.
That is a "must" to use NodeBB in some countries. Hope to see it in the near future.

Thanks!

@ghost
Copy link

ghost commented Jan 18, 2015

What about allowing users to disable their user account and have their information hidden, instead of doing a purge? A soft delete.

@MegaGM
Copy link
Contributor

MegaGM commented Jun 23, 2015

#3255
Please, add the option

@julianlam julianlam modified the milestones: 0.7.1, 0.7.2 Jul 17, 2015
@julianlam julianlam modified the milestones: 0.7.2, 0.7.3 Jul 28, 2015
@julianlam julianlam modified the milestones: 0.7.3, 0.7.4 Aug 18, 2015
@barisusakli barisusakli modified the milestones: 0.8.0, 0.8.1 Aug 27, 2015
@julianlam julianlam modified the milestones: 0.8.1, 0.8.2 Sep 1, 2015
@barisusakli barisusakli self-assigned this Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants