final String mailboxName = message.getMailboxName();
final String identifier = message.getIdentifier();
try {
/* parsing the rights is the the cheapest thing to begin with */
EditMode editMode = MailboxACL.EditMode.REPLACE;
String rights = message.getRights();
if (rights != null && rights.length() > 0) {
switch (rights.charAt(0)) {
case MailboxACL.ADD_RIGHTS_MARKER:
editMode = MailboxACL.EditMode.ADD;