-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
MDL-77433-master -
-
HQ 2023 Sprint i1.2 Moppies
Once MDL-76893 is integrated, the core_coruse\stateactions::validate_cms accepts a new param to check extra capabilities in the activity contexts. However, most activity actions are still doing those capabilities checks manually.
This issue is simply to remove all those repeated code blocks and move them to the new validate_cms param. Quite trivial but important to keep the code consistent and maintainable.