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:
committed by
David Mudrák
parent
eddec36d49
commit
deabe48bc5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user