codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
385 stars 68 forks source link

Freely-editable posts shouldn't be deletable by original posters #1394

Closed cellio closed 3 days ago

cellio commented 4 weeks ago

Arises from https://proposals.codidact.com/posts/292485:

Our network defines a Wiki post type, which has the "freely editable" flag set. By design, these posts are "owned" by the community, though obviously they are created by specific users. Currently, the creator can delete it (because the creator is the owner), but the philosophy behind "freely editable" is that the post is "owned" by the community regardless of which user accounts are attached to it.

If a post type is "freely editable", it should be treated as "not your post" if you try to delete it. If you have the ability to delete posts in general, you can still delete, but if you wouldn't be able to delete another user's post, you also shouldn't be able to delete a wiki post.

ws909 commented 4 weeks ago

Eventually, I think it’s worth rethinking user cards under posts, and how we do post attribution in general. Only a few posts really need to be owned by a specific user. And in the end, we do kind of operate with the idea that the community always owns your post, which is why we’ll undelete useful posts even if the author demands their deletion.