From: cajus Date: Thu, 3 Aug 2006 11:15:45 +0000 (+0000) Subject: Added fake function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=127afd1fd6584112b9b0efc72f6b330584114ca7;p=gosa.git Added fake function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4377 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc index f082e1f6c..066b57e03 100644 --- a/include/class_userinfo.inc +++ b/include/class_userinfo.inc @@ -158,6 +158,12 @@ class userinfo } + function get_category_permissions($dn, $category) + { + return ("cdmrw"); + } + + function get_permissions($dn, $object, $attribute, $skip_write= FALSE) { $acl= array("r" => "", "w" => "", "c" => "", "d" => "", "m" => "", "a" => ""); @@ -207,14 +213,6 @@ class userinfo continue; } - /* If attribute is "", we want to know, if we've *any* permissions here... */ - if ($attribute == "" && isset($subacl['acl'][$object])){ - foreach($subacl['acl'][$object] as $attr => $dummy){ - $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl'][$object][$attr]); - } - continue; - } - } } }