MDL-49500 grades: Add the new function to the mobile service
This commit is contained in:
@@ -31,5 +31,13 @@ $functions = array(
|
||||
'description' => 'Get the user/s report grades table for a course',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'gradereport/user:view'
|
||||
),
|
||||
'gradereport_user_view_grade_report' => array(
|
||||
'classname' => 'gradereport_user_external',
|
||||
'methodname' => 'view_grade_report',
|
||||
'classpath' => 'grade/report/user/externallib.php',
|
||||
'description' => 'Trigger the report view event',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'gradereport/user:view'
|
||||
)
|
||||
);
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2014111001; // The current plugin version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2014111002; // The current plugin version (Date: YYYYMMDDXX)
|
||||
$plugin->requires = 2014110400; // Requires this Moodle version
|
||||
$plugin->component = 'gradereport_user'; // Full name of the plugin (used for diagnostics)
|
||||
|
||||
@@ -1068,6 +1068,7 @@ $services = array(
|
||||
'core_course_view_course',
|
||||
'core_completion_get_activities_completion_status',
|
||||
'core_notes_get_course_notes',
|
||||
'gradereport_user_view_grade_report',
|
||||
),
|
||||
'enabled' => 0,
|
||||
'restrictedusers' => 0,
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2015040200.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2015040200.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user