summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 583498d)
raw | patch | inline | side by side (parent: 583498d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Feb 2010 13:26:55 +0000 (13:26 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Feb 2010 13:26:55 +0000 (13:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15616 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_acl.inc | patch | blob | history |
index 80d5481cd53fb08f40d38c8ab186c6cd7007fbcb..48c913c09216d960002e09b18156fbb0abbc985c 100644 (file)
}
$this->groups['G:'.$attrs['dn']]= $attrs['cn'][0].' ['.$dsc.']';
}
+ $this->groups['G:*']= _("All users");
ksort($this->groups);
/* Roles */
/* Generate list */
$tmp= array();
+ if ($this->target == "group" && !isset($this->recipients["G:*"])){
+ $tmp["G:*"]= _("All users");
+ }
foreach (array("user" => "users", "group" => "groups") as $field => $arr){
if ($this->target == $field){
foreach ($this->$arr as $key => $value){
$ldap= $config->get_ldap_link();
foreach ($ma as $memberdn){
// Check for wildcard here
- if ($memberdn != "*") {
- $dn= base64_decode($memberdn);
+ $dn= base64_decode($memberdn);
+ if ($dn != "*") {
$ldap->cat($dn, array('cn', 'objectClass', 'description', 'uid'));
/* Found entry... */
}
} else {
- $a['*']= sprintf(_("Wildcard ACL"));
+ $a['G:*']= sprintf(_("All users"));
}
}