summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-03 14:40:32 -0600
committerDan McGee <dan@archlinux.org>2011-03-03 14:40:32 -0600
commit0c368ce4661c91f77aa79f189c4be11de5d94d27 (patch)
tree5dfb937d1231de1d1ea7134d5d411ded6313e77a /todolists
parent3a85ead4475b8acfa236a5b1825b844d0431bbaf (diff)
Correct some permission decorators
Signed-off-by: Dan McGee <dan@archlinux.org>
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 519fae9d..7d000809 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)