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

mod/data:exportentry and mod/data:exportallentries are basically the same capability.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.9
    • None
    • MOODLE_29_STABLE

    Description

      Both mod/data:exportentry and mod/data:exportallentries handle the same situation.
      If you have the capability mod/data:exportentry you can export any entry and so you have the right to download all entries.
      I believe that we can remove exportallentries and simplify the already complex capability system.

      Also when exporting a record via .csv or .ods we use the capability DATA_CAP_EXPORT which is a constant for mod/data:viewalluserpresets
      This seems weird and I expect that when giving or denying the export functionality, people would expect it to relate to this as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abgreeve Adrian Greeve
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: