summaryrefslogtreecommitdiffstats
path: root/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 519fae9..7d00080 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -32,7 +32,7 @@ class TodoListForm(forms.Form):
return packages
-@login_required
+@permission_required('main.change_todolistpkg')
@never_cache
def flag(request, listid, pkgid):
list = get_object_or_404(Todolist, id=listid)