Done
Details
Priority
Affects versions
Components
Labels
Assignee
Laurent David
Laurent DavidReporter
Ferran Recio Calderó
Ferran Recio CalderóPeer reviewer
Ferran Recio Calderó
Ferran Recio CalderóParticipants
Ferran Recio Calderó
Laurent David
noreply
Pull from Repository
Pull Main Diff URL
Pull Main Branch
MDL-81674-main
Clockify
Created 24 April 2024 at 14:13
Updated 3 July 2024 at 14:30
Resolved 3 July 2024 at 14:30
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.