mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-30085_grade_ws' of git://github.com/jleyva/moodle
This commit is contained in:
commit
c790670d77
5 changed files with 1074 additions and 3 deletions
|
@ -99,6 +99,23 @@ $functions = array(
|
|||
'type' => 'read',
|
||||
'capabilities'=> 'moodle/cohort:view',
|
||||
),
|
||||
// Grade related functions.
|
||||
|
||||
'core_grades_get_grades' => array(
|
||||
'classname' => 'core_grades_external',
|
||||
'methodname' => 'get_grades',
|
||||
'description' => 'Returns grade item details and optionally student grades.',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'moodle/grade:view, moodle/grade:viewall',
|
||||
),
|
||||
|
||||
'core_grades_update_grades' => array(
|
||||
'classname' => 'core_grades_external',
|
||||
'methodname' => 'update_grades',
|
||||
'description' => 'Update a grade item and associated student grades.',
|
||||
'type' => 'write',
|
||||
'capabilities' => '',
|
||||
),
|
||||
|
||||
// === group related functions ===
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue