Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
73 stars 32 forks source link

Let admins configure whether users can vote on their own content #454

Closed happy-river closed 2 years ago

happy-river commented 2 years ago

In the past users have been given an automatic vote on their own posts and have been allowed to change it, but get no automatic vote on their own comments and are not allowed to vote on them.

Add admin options to permit or deny voting by users on their own posts and comments, so that admins can make this behavior consistent between posts and comments. If self-voting is permitted, an automatic upvote will be generated when the content is posted. The defaults preserve the existing behavior.