Fixes access level control in report view

This commit is contained in:
Mouse Reeve 2022-01-30 09:20:26 -08:00
parent 24c1d5a168
commit 68f9ee9d8a

View file

@ -58,6 +58,7 @@ class ReportAdmin(View):
"""load a report"""
data = {
"report": get_object_or_404(models.Report, id=report_id),
"group_form": forms.UserGroupForm(),
}
return TemplateResponse(request, "settings/reports/report.html", data)