bitcointranscripts / transcription-review-backend

7 stars 11 forks source link

Introduce 'evaluator' Role and Enhance User Permissions API #290

Closed kouloumos closed 5 months ago

kouloumos commented 5 months ago

We are adding a new role called 'evaluator' to Bitcoin Transcripts. This role will be different from the current 'reviewer' and 'admin' roles, and it requires some updates to our system to work properly.

What Needs to Change

  1. Adding the 'evaluator' Role: We need to update our system to recognize and handle the new 'evaluator' role.
  2. Revamping the api/users/{id} Endpoint: Currently, the api/users/{id} API endpoint is underutilized and doesn't meet our needs. We can refactor this endpoint to focus specifically on managing user permissions. We might also rename it to api/users/{id}/permissions to clarify its purpose.
  3. It's important to ensure that only admins have the ability to modify user roles, reset reviews and archive transcripts. Related: https://github.com/bitcointranscripts/transcription-review-front-end/issues/291
kouloumos commented 5 months ago

Closed by #292