Fix perms for agenda, motion and assignment widget. It is now set to projector.can_manage_projector.
This commit is contained in:
parent
06af94fb91
commit
af6c403936
@ -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')]
|
||||
|
@ -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')]
|
||||
|
@ -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')]
|
||||
|
Loading…
Reference in New Issue
Block a user