forked from mirrors/bookwyrm
Fixes access level control in report view
This commit is contained in:
parent
24c1d5a168
commit
68f9ee9d8a
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ class ReportAdmin(View):
|
||||||
"""load a report"""
|
"""load a report"""
|
||||||
data = {
|
data = {
|
||||||
"report": get_object_or_404(models.Report, id=report_id),
|
"report": get_object_or_404(models.Report, id=report_id),
|
||||||
|
"group_form": forms.UserGroupForm(),
|
||||||
}
|
}
|
||||||
return TemplateResponse(request, "settings/reports/report.html", data)
|
return TemplateResponse(request, "settings/reports/report.html", data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue