Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19102

Allow file deletion auditing

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.9.4
    • None
    • Course, Files API, Libraries
    • 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jsegarra Juan Segarra Montesinos
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: