From: hickert Date: Tue, 27 May 2008 07:15:31 +0000 (+0000) Subject: Enabled ACL hanlding for the ACLs itself X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d02381f8c380c15b282acece1f723bd3221aad53;p=gosa.git Enabled ACL hanlding for the ACLs itself git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11012 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index 44a612db1..706e0eb02 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -1253,7 +1253,6 @@ class acl extends plugin function acl_is_writeable($attribute,$skip_write = FALSE) { - return(TRUE); $ui= get_userinfo(); return preg_match('/w/', $ui->get_permissions($this->acl_base, $this->acl_category.get_class($this), $attribute, $skip_write)); } @@ -1261,7 +1260,6 @@ class acl extends plugin function acl_is_readable($attribute) { - return(TRUE); $ui= get_userinfo(); return preg_match('/r/', $ui->get_permissions($this->acl_base, $this->acl_category.get_class($this), $attribute)); } @@ -1269,7 +1267,7 @@ class acl extends plugin function acl_is_createable() { - return(TRUE); + $ui= get_userinfo(); return preg_match('/c/', $ui->get_permissions($this->acl_base, $this->acl_category.get_class($this), '0')); } @@ -1277,7 +1275,6 @@ class acl extends plugin function acl_is_removeable() { - return(TRUE); $ui= get_userinfo(); return preg_match('/d/', $ui->get_permissions($this->acl_base, $this->acl_category.get_class($this), '0')); }