Commit 61688335 authored by Michal Čihař's avatar Michal Čihař

Adjust privileges every time this is run

parent dbbb107d
......@@ -15,7 +15,6 @@ class Command(BaseCommand):
def handle(self, *args, **options):
group, created = Group.objects.get_or_create(name = 'Users')
if created:
group.permissions.add(
Permission.objects.get(codename = 'upload_translation'),
Permission.objects.get(codename = 'overwrite_translation'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment