-
Task
-
Resolution: Done
-
Minor
-
None
-
4.5
-
MOODLE_405_STABLE
-
MDL-81674-main -
-
HQ 2024 Sprint I2.3 Moppies
This issue is part of the course hierarch project.
Issue goals
Any content in a delegated section must also be checked in the parent context. This can be done in several ways. This task is about evaluate how to deal with this new subsection concept inside the activities and regarding the course capabilities.
There are several approaches that must be evaluated:
- Check if it is possible to infer the parent section form the context in the has_capacility function.
- Create a get_context in the section_info class that will return the correct context to check capabilities
- Create an ad-hoc method to check capabilities in a subsection
- Any other creative solution we can think of.
Future issues
Any capabilities inside a subsection must first be checked by the delegated plugins.
- has to be done before
-
MDL-82377 Implement access in delegated sections' activities
- Closed