Add Admin Settings Page for Configurable Failure Criteria
🚀 Feature
As a doctor (admin), I want to enable or disable specific failure criteria, so that I can tailor the learning process of my students according to my teaching goals.
Currently, failure criteria are fixed and cannot be individually enabled or disabled. To give instructors more flexibility in guiding their students’ learning process, an admin should be able to configure which failure criteria are active in the system. This configuration will then apply globally to all users.
A new settings view should be created, accessible from the admin settings, where all failure criteria are listed with toggle switches.
✅ Acceptance criteria
Access Control
-
The new settings view is only accessible to admin users.
Settings Page
-
A new "Failure Criteria Settings" page is added under the general settings section. -
All available failure criteria are listed with clear labels and descriptions. -
Each failure criterion has a toggle switch (on/off).
Persistence
-
The toggle states are stored persistently in the database. -
The configuration applies globally to all users once changed.
Default Behavior
-
By default, all failure criteria are enabled.