Add audit log to the admin panel

Đang mở
#299 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Rust
Star
1.1k
Fork
57
Merge trung bình
17 giờ 39 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cot-rs/cot

Tất cả issue của cot-rs/cot

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.