From: hickert Date: Tue, 23 Nov 2010 12:30:04 +0000 (+0000) Subject: Updated aclResolver X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=12a853815cd3ed4e9a22c10b778006c6b412f861;p=gosa.git Updated aclResolver -Allow to specify the users uid instead of its full name. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20340 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/references/class_aclResolver.inc b/gosa-core/plugins/generic/references/class_aclResolver.inc index b1b97c656..22d76e176 100644 --- a/gosa-core/plugins/generic/references/class_aclResolver.inc +++ b/gosa-core/plugins/generic/references/class_aclResolver.inc @@ -120,9 +120,20 @@ class aclResolver $this->validateDn = $this->userMap[$d]['dn']; $this->validateUid = $this->userMap[$d]['uid'][0]; $this->renderedList = ""; + }else{ + + foreach($this->userMap as $string => $data){ + if($data['uid'][0] == $d){ + $this->validateDn = $data['dn']; + $this->validateUid = $data['uid'][0]; + $this->renderedList = ""; + + } + } } } - + + if(empty($this->renderedList)){ $this->reload();