Merge pull request #1435 from ostcar/fix_assignment_poll_view
Fixed AssignmentPollUpdateView.
This commit is contained in:
commit
79577c9b8e
@ -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).
|
||||||
|
@ -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'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user