rename MailboxTree -> MailTree
[org.ibex.mail.git] / src / org / ibex / mail / Acl.java
index e7558d4..432dbe6 100644 (file)
@@ -56,6 +56,10 @@ public class Acl {
 
         public Entry(String asString) {
             this.toString = asString;
+            if (asString == null) asString = "";
+            if (asString.equals("read")) asString = "rl";
+            if (asString.equals("post")) asString = "rlp";
+            if (asString.equals("write")) asString = "rlidwkpfm";
             this.read = asString.indexOf('r') != -1;
             this.list = asString.indexOf('l') != -1;
             this.insert = asString.indexOf('i') != -1;