participedia / api

Website and API for Participedia V3
https://participedia.net
MIT License
19 stars 13 forks source link

Spam issue - Admin review #1130

Closed paninee closed 1 year ago

paninee commented 1 year ago

To block spam, we will implement admin review process. The first entry created by an unverified user will need to be approved by an admin before it's published live.

Dev tasks

UI

Auth0 setup

We need to block the user by calling Auth0 Management API https://auth0.com/docs/api/management/v2/#!/Users/patch_users_by_id. In order to do that we need to follow this step https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-access-tokens-for-production and use the existing machine-to-machine key called Participedia API

Logic

Existing user/data

jesicarson commented 1 year ago

Update - the review entries button will show up on the Content Chooser page for admins (not the profile page, as noted above). This is already built:

Screen Shot 2022-12-19 at 9 47 40 AM

@paninee - please make the following changes: