AletheiaFact / AletheiaFact/aletheia

Enhancement: Separate Reviewer and FactChecker users with unique permissions in the backend

Abierto
#1,443 0 comentarios 0 reacciones 0 asignados Ver en GitHub
tech
Lenguaje dominante
TypeScript
Estrellas
55
Forks
20
Merge medio
2 d 6 h
PR fusionados (30 d)
2

Descripción

### Background Information

Currently, in Aletheia, there are three user types in `ability.decorator.ts`, one of which is FactChecker, used for both reviewers and fact-checkers with the same permissions in the backend. The goal of this issue is to separate them and assign different permissions, as is already done in the frontend.

### Steps to Reproduce

I believe we should separate the two users, Reviewer and FactChecker, and discuss which permissions each will have. Currently, both have permission to create and update.

![Screenshot from 2024-11-06 15-18-35](https://github.com/user-attachments/assets/37a672e5-6681-41c9-80be-cfb2ad40b40e)

### How

The best way to achieve this should be discussed.

### Expected Behavior

Ambos users existirem em backend e terem permissões unicas, acredito que dessa forma não precisando definir essas permissões em frontend

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.