-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
2.9
-
MOODLE_29_STABLE
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.