We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5549bf0 commit a09fb05Copy full SHA for a09fb05
execute_task.php
@@ -52,7 +52,7 @@
52
// Know which course we're in, so can authorize the user
53
require_login($coursecontext->instanceid);
54
// Check current user's capabilities.
55
-require_capability('moodle/course:update', $coursecontext);
+require_capability('moodle/course:manageactivities', $coursecontext);
56
57
// At this user is authenticated, and authorized to submit the task
58
$blockinstance = block_instance('sentimentanalysis', $instancerec);
0 commit comments