Fix typo in default permissions for anonymous-group

This commit is contained in:
Norman Jäckel 2012-08-10 00:37:23 +02:00
parent 6ec3bbfe3b
commit 3ba04e10b4

View File

@ -67,7 +67,7 @@ class GeneralConfig(FormView):
anonymous = Group.objects.get(name='Anonymous') anonymous = Group.objects.get(name='Anonymous')
except Group.DoesNotExist: except Group.DoesNotExist:
default_perms = [u'can_see_agenda', u'can_see_projector', default_perms = [u'can_see_agenda', u'can_see_projector',
u'can_see_application', 'can_see_assignment'] u'can_see_application', u'can_see_assignment']
anonymous = Group() anonymous = Group()
anonymous.name = 'Anonymous' anonymous.name = 'Anonymous'
anonymous.save() anonymous.save()