diff options
Diffstat (limited to 'coip/apps/auth/authz.py')
-rw-r--r-- | coip/apps/auth/authz.py | 16 |
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 |