Add audit log to the admin panel

Aperta
#299 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

The issue does not name files, tests, or entry points. Start by locating the admin panel’s action handlers and database model conventions. The scope includes defining an audit data model, recording actions, and displaying recent actions or per-instance history; done criteria and implementation details need clarification.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

The admin panel should have a sort of "audit log" - each action done in the panel should be saved to the database, and then we could display a list of recent actions in the homepage, or a history of a given model instance.

An open question is how to define a data model to store the actions. The baseline is probably the following:

  • There is a well known set of possible actions (create object, modify object, delete an object, etc.)
  • For each action we want to know who did it and when
  • We want to be able to filter the object ID, so we can display a history for it
  • We need to store which columns were edited in case of the "modify object" action, so we can display them as well
Lingua principale
Rust
Stelle
1.1k
Fork
57
Merge medio
17h 39m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cot-rs/cot

Tutte le issue di cot-rs/cot

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.