MDL-42190 workshop: Add the ability to delete submissions

A new capability is introduced to control this, granted to teacher/admin
roles by default: mod/workshop:deletesubmissions.  Additionally, students
can delete their own submissions if they are currently able to edit them.
This commit is contained in:
Paul Nicholls
2016-01-25 15:17:44 +01:00
committed by David Mudrák
parent eddec36d49
commit deabe48bc5
4 changed files with 71 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015111600; // The current module version (YYYYMMDDXX)
$plugin->version = 2016012100; // The current module version (YYYYMMDDXX)
$plugin->requires = 2015111000; // Requires this Moodle version.
$plugin->component = 'mod_workshop';
$plugin->cron = 60; // Give as a chance every minute.