Fix perms for agenda, motion and assignment widget. It is now set to projector.can_manage_projector.

This commit is contained in:
Norman Jäckel 2012-11-21 15:14:38 +01:00
parent 06af94fb91
commit af6c403936
3 changed files with 3 additions and 3 deletions

View File

@ -231,4 +231,4 @@ def get_widgets(request):
context={
'agenda': SLIDE['agenda'],
'items': Item.objects.all()},
permission_required='agenda.can_manage_agenda')]
permission_required='projector.can_manage_projector')]

View File

@ -678,4 +678,4 @@ def get_widgets(request):
display_name=_('Elections'),
template='assignment/widget.html',
context={'assignments': Assignment.objects.all()},
permission_required='assignment.can_manage_assignment')]
permission_required='projector.can_manage_projector')]

View File

@ -928,4 +928,4 @@ def get_widgets(request):
display_name=_('Motions'),
template='motion/widget.html',
context={'motions': Motion.objects.all()},
permission_required='motion.can_manage_motion')]
permission_required='projector.can_manage_projector')]