Fix AssignmentPollUpdateView

This commit is contained in:
Oskar Hahn 2015-01-25 15:15:28 +01:00
parent ea0b8e584f
commit c7b52245b7
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,8 @@ Core:
Motions: Motions:
- New Feature to create amendments, which are related to a parent motion. - New Feature to create amendments, which are related to a parent motion.
- Added possibility to hide motions from non staff users in some states. - Added possibility to hide motions from non staff users in some states.
Assignments:
- Fix permissions to alter assignment polls.
Other: Other:
- Cleaned up utils.views to increase performance when fetching single objects - Cleaned up utils.views to increase performance when fetching single objects
from the database for a view (#1378). from the database for a view (#1378).

View File

@ -200,6 +200,7 @@ class PollCreateView(SingleObjectMixin, RedirectView):
class PollUpdateView(PollFormView): class PollUpdateView(PollFormView):
required_permission = 'assignment.can_manage_assignment'
poll_class = AssignmentPoll poll_class = AssignmentPoll
template_name = 'assignment/assignmentpoll_form.html' template_name = 'assignment/assignmentpoll_form.html'