Code

Added fake function
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Aug 2006 11:15:45 +0000 (11:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Aug 2006 11:15:45 +0000 (11:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4377 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_userinfo.inc

index f082e1f6c6daf883b89a3488484ba818ab8f1d75..066b57e031a96d92dc660b0574273c620de8818d 100644 (file)
@@ -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;
-          }
-
         }
       }
     }