summaryrefslogtreecommitdiff
path: root/coip/apps/auth/authz.py
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2010-07-08 21:32:05 +0200
committerLeif Johansson <leifj@sunet.se>2010-07-08 21:32:05 +0200
commit2bb8b5dd3eee47e665da570eb72cfea87c6ca3fe (patch)
tree72c79fa02307c1c2e76e93644b82039d51529a52 /coip/apps/auth/authz.py
parent5a58664f5cf03995c6f35f71812cfcf5637ba76e (diff)
navigation based on jsTree
Diffstat (limited to 'coip/apps/auth/authz.py')
-rw-r--r--coip/apps/auth/authz.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/coip/apps/auth/authz.py b/coip/apps/auth/authz.py
deleted file mode 100644
index b5f3bd5..0000000
--- a/coip/apps/auth/authz.py
+++ /dev/null
@@ -1,16 +0,0 @@
-'''
-Created on Jul 7, 2010
-
-@author: leifj
-'''
-from coip.apps.name.models import Name
-
-#TODO implement acls
-def has_permission_name(user,name,perm):
- return True
-
-def has_permission(user, object, perm):
- if type(object) == Name:
- return has_permission_name(user,object,perm)
-
- return False; \ No newline at end of file