[SECURITY] Bind relevant cached file downloads to the current session

This commit is contained in:
Raphael Michel
2020-12-22 11:19:04 +01:00
parent 13441bf3c4
commit 6dea8a0e0f
11 changed files with 46 additions and 9 deletions
@@ -0,0 +1,27 @@
# Generated by Django 3.0.11 on 2020-12-18 18:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pretixbase', '0170_remove_hidden_urls'),
]
replaces = [
('pretixbase', '0162b_auto_20201218_1810'),
('pretixbase', '0169b_auto_20201218_1810'),
]
operations = [
migrations.AddField(
model_name='cachedfile',
name='session_key',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='cachedfile',
name='web_download',
field=models.BooleanField(default=True),
),
]