-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.9.17, 3.11.10, 4.0.4
-
MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
In couple of places in the code the capability check is done as
has_capability('moodle/user:update', $systemcontext)
This can be done at the user context instead of the system context
Example :
In user/profile/lib.php function
is_editable