-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
3.0
-
None
-
MOODLE_30_STABLE
-
MDL-52104_master -
-
3
-
CBE Sprint 2
It was said in MDL-51805 that change of states in plan should work as follow :
Always prevent a plan to be marked as completed from the plan editing form. Instead we will add an option "Complete this plan"/"Reopen this plan" in the plans page which will warn the user that reopening the plan will delete any customization done to the competencies.
Note : A good implementation in api would be to prevent switching status (from/to complete) in api::update_plan and create a new specific method for that.
This issue should also ensure that a plan cannot be modified when it is complete, only its user_competency_plan in some occasions (plan.php).