summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c18ce80)
raw | patch | inline | side by side (parent: c18ce80)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Dec 2008 08:12:23 +0000 (08:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Dec 2008 08:12:23 +0000 (08:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13255 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/class_mail-methods.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods.inc b/gosa-plugins/mail/personal/mail/class_mail-methods.inc
index 0908fb1cb23031c58ca571bae35c2bc551bf679d..ad049adba3981b2f58066f1685b77a930f11622a 100644 (file)
protected $parent = NULL;
protected $MailServer = "";
+ protected $default_acls = array("__anyone__" => "p", "__member__" => "lrswp");
+
protected $acl_map = array(
"lrsw" => "read",
"lrswp" => "post",
return("<img src='progress.php?x=100&y=17&p=$usage'>");
}
}
+
+
+ /*! \brief Returns the default sharedFolder ACLs for this method.
+ @return Array Returns an array containg acls for __member__ and __anyone__
+ */
+ public function getDefaultACLs()
+ {
+ $tmp = $this->default_acls;
+ if(!isset($tmp['__member__'])) $tmp['__member__'] = " ";
+ if(!isset($tmp['__anyone__'])) $tmp['__anyone__'] = " ";
+ return($tmp);
+ }
}