From: hickert Date: Fri, 2 Oct 2009 14:25:55 +0000 (+0000) Subject: ACls with no memebers are no inactive. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa89f24a74bb13b3739abde5b0b4d31534172b75;p=gosa.git ACls with no memebers are no inactive. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14491 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index 02d0a41a1..ce577b39d 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -1079,7 +1079,7 @@ class acl extends plugin $summary.= $cn.", "; } } else { - $summary.= _("ACL takes effect for all users"); + $summary.= ""._("inactive")." - "._("No members").""; } return (preg_replace('/, $/', '', $summary)); diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index a32f07da6..65ac65c58 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -158,9 +158,9 @@ class userinfo 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... */