Affects Version/s: 3.7.2
Fix Version/s: None
Component/s: Wiki (2.x)
Right now, users with the capability mod/wiki:managefiles can delete files from a wiki without even creating a log entry in the Moodle logs.
There is also no capability to control a role's ability to delete files without taking away their ability to add files.
Since adding files is very useful for students, I therefore suggest splitting the capability mod/wiki:managefiles into mod/wiki:addfiles and mod/wiki:deletefiles.
- Grant students the capability mod/wiki:addfiles
- Add files to a wiki as a student
- Try deleting files again - deleting files should not work