GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Prevent mass-claiming of posts #182

Closed TimJentzsch closed 3 years ago

TimJentzsch commented 3 years ago

Related to GreafeasGroup/tor#220

The API should restrict how many submissions a user can claim, depending on the user's gamma. If the user has less than 100 gamma, they should only be able to claim one post at a time. With 100 gamma and more, two claims should be possible.

If a claim is attempted, but the maximum number of claimed submissions is already reached, an error should be returned (perhaps 403 Forbidden or 409 Conflict? However both of these are already in use).