summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-20 12:56:27 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-20 12:56:27 +0100
commite345f2ced5dc76808e2979043ffea1341eba72fb (patch)
tree21c04a0f72dcfd634a392a1840d49ffe402d2f80
parentnew permission system (diff)
downloadpyload-e345f2ced5dc76808e2979043ffea1341eba72fb.tar.xz
correct permission for js code
-rw-r--r--module/web/pyload_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py
index 3869fd4cf..7a93ad8db 100644
--- a/module/web/pyload_app.py
+++ b/module/web/pyload_app.py
@@ -317,7 +317,7 @@ def config():
[pre_processor])
@route("/package_ui.js")
-@login_required('can_see_dl')
+@login_required('see_downloads')
def package_ui():
response.headers['Expires'] = time.strftime("%a, %d %b %Y %H:%M:%S GMT",
time.gmtime(time.time() + 60 * 60 * 24 * 7))