#185: Wrong permission to print assignments.
This commit is contained in:
parent
bb5fcf4d6d
commit
bc9765230c
@ -293,7 +293,7 @@ class AssignmentPollDelete(DeleteView):
|
|||||||
|
|
||||||
|
|
||||||
class AssignmentPDF(PDFView):
|
class AssignmentPDF(PDFView):
|
||||||
permission_required = 'assignment.can_manage_assignment'
|
permission_required = 'assignment.can_see_assignment'
|
||||||
top_space = 0
|
top_space = 0
|
||||||
|
|
||||||
def get_filename(self):
|
def get_filename(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user