Code

Fixed posixs ACL handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Nov 2005 11:15:42 +0000 (11:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Nov 2005 11:15:42 +0000 (11:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2125 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/posix/class_posixAccount.inc
plugins/personal/posix/generic.tpl

index 1a62e89464ab244935f88b6d5fdb439b2b257cde..902fd411ca93e5f59b91ac1dcb8ace8053ce868b 100644 (file)
@@ -510,7 +510,7 @@ class posixAccount extends plugin
 
     /* Load attributes and acl's */
     foreach($this->attributes as $val){
-      if(($_SESSION["js"])&&(($val=="uidNumber")||($val=="gidNumber")))
+      if((chkacl($this->acl,$val)=="")&&(($_SESSION["js"])&&(($val=="uidNumber")||($val=="gidNumber"))))
         {
           $smarty->assign("$val"."ACL","");
           $smarty->assign("$val", $this->$val);
index a01cd95c6c40643c8c83eb872b8c89e46034be94..d839198292fbc82fb7972c1c7f522c6c71cd5cd9 100644 (file)
@@ -66,7 +66,7 @@
     <b style="color:red">{t}(Warning: more than 16 groups are not supported by NFS!){/t}</b>
     <br>
    {/if}
-   <select style="width:100%; height:130px;" name="group_list[]" size=16 multiple>
+   <select style="width:100%; height:130px;" name="group_list[]" size=16 multiple {$groupMembershipACL}>
     {html_options options=$groupMembership}
    </select>
    <br>