AletheiaFact / AletheiaFact/aletheia

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

Offen
#1,443 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
tech
Vorherrschende Sprache
TypeScript
Sterne
55
Forks
20
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
2

Beschreibung

### 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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.