summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0159adc)
raw | patch | inline | side by side (parent: 0159adc)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Sep 2007 09:41:33 +0000 (09:41 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Sep 2007 09:41:33 +0000 (09:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7326 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_userinfo.inc | patch | blob | history |
index c3712521ccb9a3d7b9dde672140672a644baa2b0..8ac07ad71fbc2e2264d559f36f7d6172d6d9ab9f 100644 (file)
foreach($this->ocMapping[$category] as $oc){
$acl.= $this->get_permissions($dn, $category."/".$oc);
}
+ } else {
+ if (isset($this->ocMapping['all'])){
+ foreach($this->ocMapping['all'] as $oc){
+ $acl.= $this->get_permissions($dn, $category."/".$oc);
+ }
+ }
}
return ($acl);
$acl = "rwcdm";
$types = "rwcdm";
-
if(!is_string($category)){
trigger_error("category must be string");
$acl = "";