MDL-27565 implement moodle_notes_create_note
This commit is contained in:
@@ -206,4 +206,15 @@ $functions = array(
|
||||
'capabilities'=> 'moodle/course:create,moodle/course:visibility',
|
||||
),
|
||||
|
||||
// === notes related functions ===
|
||||
|
||||
'moodle_notes_create_notes' => array(
|
||||
'classname' => 'moodle_notes_external',
|
||||
'methodname' => 'create_notes',
|
||||
'classpath' => 'notes/externallib.php',
|
||||
'description' => 'Create notes',
|
||||
'type' => 'write',
|
||||
'capabilities'=> 'moodle/notes:manage',
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user