Merge pull request #4 from normanjaeckel/stable/1.2.x

Fix typo in default permissions for anonymous-group
This commit is contained in:
Oskar Hahn 2012-08-10 00:01:29 -07:00
commit 139bd9c57d

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()