From 15f872b6e2d184defcad8b2a04511e8ea76056d3 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 1 Nov 2011 08:07:27 +0100 Subject: [PATCH] Fixed permissions to delete own applications (if they have no number). --- openslides/application/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/application/views.py b/openslides/application/views.py index 0342713c7..d6b59101d 100644 --- a/openslides/application/views.py +++ b/openslides/application/views.py @@ -197,7 +197,7 @@ def edit(request, application_id=None): 'application': application, } -@permission_required('application.can_manage_application') +@login_required @template('application/view.html') def delete(request, application_id): """