aboutsummaryrefslogtreecommitdiffstats
path: root/alias_server/permission.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-01-18 12:27:37 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2012-01-18 12:27:37 -0500
commitf70165ef6229a92bf8cfa6f16eff980a4a7491fe (patch)
treee2954759f71c0b4c482334ba9b278a4224e97197 /alias_server/permission.py
parent0ce9f4fb84693f34113630c59610b47a082ae71a (diff)
downloadalias-f70165ef6229a92bf8cfa6f16eff980a4a7491fe.tar.gz
Added setup.py and big reorg of the source tree
this should fix tickets #10 and #11
Diffstat (limited to 'alias_server/permission.py')
-rw-r--r--alias_server/permission.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/alias_server/permission.py b/alias_server/permission.py
new file mode 100644
index 0000000..3ce7323
--- /dev/null
+++ b/alias_server/permission.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+
+READ = 1 << 0
+MODIFY = 1 << 1
+APPEND = 1 << 2
+LIST = 1 << 3
+
+class PermissionError(Exception):
+ pass \ No newline at end of file