feat: Ensure correct groups are creeated with permissions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 5.0.3 on 2024-04-07 09:32
|
||||
# Generated by Django 5.0.3 on 2024-04-12 20:02
|
||||
|
||||
import datetime
|
||||
import django.contrib.auth.models
|
||||
@@ -118,6 +118,9 @@ class Migration(migrations.Migration):
|
||||
('group_only', models.BooleanField(default=False, verbose_name='Only group adoption')),
|
||||
('photos', models.ManyToManyField(blank=True, to='fellchensammlung.image')),
|
||||
],
|
||||
options={
|
||||
'permissions': [('create_active_adoption_notice', 'Can create an active adoption notice')],
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Member',
|
||||
@@ -142,6 +145,9 @@ class Migration(migrations.Migration):
|
||||
('adoption_notice', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='fellchensammlung.adoptionnotice')),
|
||||
('reported_broken_rules', models.ManyToManyField(blank=True, to='fellchensammlung.rule')),
|
||||
],
|
||||
options={
|
||||
'permissions': [],
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='ModerationAction',
|
||||
|
Reference in New Issue
Block a user