From af6c40393605bf8c7889ca42ea0349fce59fcbd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Wed, 21 Nov 2012 15:14:38 +0100 Subject: [PATCH] Fix perms for agenda, motion and assignment widget. It is now set to projector.can_manage_projector. --- openslides/agenda/views.py | 2 +- openslides/assignment/views.py | 2 +- openslides/motion/views.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openslides/agenda/views.py b/openslides/agenda/views.py index b57128fbd..863bd9da4 100644 --- a/openslides/agenda/views.py +++ b/openslides/agenda/views.py @@ -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')] diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py index fde043889..af661d072 100644 --- a/openslides/assignment/views.py +++ b/openslides/assignment/views.py @@ -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')] diff --git a/openslides/motion/views.py b/openslides/motion/views.py index f777ec7cf..c575b6ad2 100644 --- a/openslides/motion/views.py +++ b/openslides/motion/views.py @@ -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')]