Fix check_permission in motion support view.
Fixes 1551
This commit is contained in:
parent
ea0b8e584f
commit
9b5d8a8bd4
@ -499,7 +499,7 @@ class SupportView(SingleObjectMixin, QuestionView):
|
|||||||
model = Motion
|
model = Motion
|
||||||
support = True
|
support = True
|
||||||
|
|
||||||
def check_permission(self, request):
|
def check_permission(self, request, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Return True if the user can support or unsupport the motion. Else: False.
|
Return True if the user can support or unsupport the motion. Else: False.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user