From efd88c27ad2e07acb4d5d431686cc3c22f0ad909 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 21 Feb 2020 21:33:42 +0100 Subject: [PATCH] audit: *crit* fix audit log not being protected correctly --- passbook/admin/views/audit.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/passbook/admin/views/audit.py b/passbook/admin/views/audit.py index b57198378..10d5aa48b 100644 --- a/passbook/admin/views/audit.py +++ b/passbook/admin/views/audit.py @@ -13,6 +13,3 @@ class EventListView(PermissionListMixin, ListView): permission_required = "passbook_audit.view_event" ordering = "-created" paginate_by = 10 - - def get_queryset(self): - return Event.objects.all().order_by("-created")