index 01315479d61e08eafce76df79a733e5cc2550c18..06a9648d1782d875d72483966014d5fc683af4be 100644 (file)
}
/* Restrictions? */
- if (isset($attrs['gosaLoginRestrictions'])){
- $this->restrictions= $attrs['gosaLoginRestrictions'];
+ if (isset($attrs['gosaLoginRestriction'])){
+ $this->restrictions= $attrs['gosaLoginRestriction'];
unset($this->restrictions['count']);
}
foreach($aclc[$dn] as $idx => $type){
$interresting= FALSE;
- /* No members? This is good for all users... */
+ /* No members? This ACL rule is deactivated ... */
if (!count($type['members'])){
- $interresting= TRUE;
+ $interresting= FALSE;
} else {
/* Inspect members... */
}
+ /* Returns an array containing all target objects we've permssions on.
+ */
+ function get_acl_target_objects()
+ {
+ return(array_keys($this->ACLperPath));
+ }
+
+
function get_category_permissions($dn, $category, $any_acl = FALSE)
{
return(@$this->get_permissions($dn,$category.'/0',""));