Moodle

Allow file deletion auditing

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Course, Files API, Libraries
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

There are certain incidents that are caused by users (teachers) deleting unconsciously some course files. Currently the only way to guess that a user has deleted a file is to explore web server logs and it's really imprecise.

This patch (against 1.9.4) introduces a log each time a user tries to delete a file or directory. It stores who deleted the file, what course, when, the file he/she tried to delete and if the operation has been successful or not.

To see file deletion attempts:

SELECT *
FROM mdl_log
WHERE module='files' AND
action='delete';

Thanks for your time

Activity

There are no comments yet on this issue.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated: