mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-66113 assign: Apply user overrides in get_submission_status WS
This commit is contained in:
parent
1c3efe48f8
commit
0b9f2215d0
2 changed files with 61 additions and 0 deletions
|
@ -2350,6 +2350,8 @@ class mod_assign_external extends external_api {
|
|||
throw new required_capability_exception($context, 'mod/assign:viewgrades', 'nopermission', '');
|
||||
}
|
||||
|
||||
$assign->update_effective_access($user->id);
|
||||
|
||||
$gradingsummary = $lastattempt = $feedback = $previousattempts = null;
|
||||
|
||||
// Get the renderable since it contais all the info we need.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue