ok icon indicating copy to clipboard operation
ok copied to clipboard

Audit Log for instructors

Open Sumukh opened this issue 7 years ago • 0 comments

This is a way to track actions taken by staff that instructors might care about.

Involves:

  • Create a AuditLog Table in models.py that contains the following
    • a string field that describes the event
    • a user_id (for the relevant user - this could be nullable)
    • a course_id (to log it to a particular course)
  • A page that displays the events for a course

Intended usage:

If a staff member grants an extension - in the code we should be able to do something like this

AuditLog.record(current_user, current_course, "Granted a Scheme Extension to [email protected]") AuditLog.record(current_user, current_course, "Unenrolled a student")

Sumukh avatar Feb 21 '17 08:02 Sumukh