diff --git a/CHANGELOG b/CHANGELOG index eb9c6bceb..b84a76143 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -16,6 +16,8 @@ Core: Motions: - New Feature to create amendments, which are related to a parent motion. - Added possibility to hide motions from non staff users in some states. +Assignments: +- Fix permissions to alter assignment polls. Other: - Cleaned up utils.views to increase performance when fetching single objects from the database for a view (#1378). diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py index 3696ff536..e8c3c8854 100644 --- a/openslides/assignment/views.py +++ b/openslides/assignment/views.py @@ -200,6 +200,7 @@ class PollCreateView(SingleObjectMixin, RedirectView): class PollUpdateView(PollFormView): + required_permission = 'assignment.can_manage_assignment' poll_class = AssignmentPoll template_name = 'assignment/assignmentpoll_form.html'