Add prerequisites handling to CaseCollection and implement user access checks

This commit is contained in:
Ross
2025-10-13 13:46:01 +01:00
parent a3712959ec
commit eeef34bffc
6 changed files with 146 additions and 5 deletions
@@ -0,0 +1,18 @@
# Generated by Django 5.1.4 on 2025-10-13 12:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('atlas', '0078_cidreportanswer_started_at_and_more'),
]
operations = [
migrations.AddField(
model_name='casecollection',
name='prerequisites',
field=models.ManyToManyField(blank=True, help_text='Collections that must be completed before this collection can be taken', related_name='dependents', to='atlas.casecollection'),
),
]