summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-01 20:09:46 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-01 20:09:46 (GMT)
commiteb2c8e73da5af5fd02244963055fcb7e26993adb (patch)
tree79920b240e40f3499cc2f94a1db3435e05c676c9
parent55de288c17e7b7861b7473a1c3e5c7e5bcda7248 (diff)
downloadpykolab-eb2c8e73da5af5fd02244963055fcb7e26993adb.tar.gz
Update the list of short acl rights (read, write, etc.)
-rw-r--r--pykolab/imap/__init__.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/pykolab/imap/__init__.py b/pykolab/imap/__init__.py
index 0b2b8cd..f52dc9f 100644
--- a/pykolab/imap/__init__.py
+++ b/pykolab/imap/__init__.py
@@ -320,11 +320,15 @@ class IMAP(object):
Set an ACL entry on a folder.
"""
short_rights = {
- 'all': 'lrswipkxtecda',
+ 'all': 'lrsedntxakcpiw',
+ 'append': 'wip',
+ 'full': 'lrswipkxtecdn',
+ 'read': 'lrs',
'read-only': 'lrs',
- 'read-write': 'lrswited',
+ 'read-write': 'lrswitedn',
+ 'post': 'p',
'semi-full': 'lrswit',
- 'full': 'lrswipkxtecd'
+ 'write': 'lrswite',
}
if short_rights.has_key(acl):