Code

Updated ACL Plugin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Jul 2008 10:15:06 +0000 (10:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Jul 2008 10:15:06 +0000 (10:15 +0000)
-Do not sort plugin attribute acls, we can't structure attribute order if they get sorted.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11576 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_acl.inc

index 5e4a03e3e1edbb37f685a87a3e734d8efc532e1f..6aadfc637d5fb8258854dfaa1f4f0a9e091e630e 100644 (file)
@@ -746,7 +746,7 @@ class acl extends plugin
       /* Walk through the list of attributes */
       $cnt= 1;
       $splist= $plist[preg_replace('%^.*/%', '', $key)]['plProvidedAcls'];
-      asort($splist);
+#      asort($splist);
       if(session::get('js')) {
         if(isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/gecko/i",$_SERVER['HTTP_USER_AGENT'])) {
           $display.= "\n  <tr id='tr_".preg_replace("/[^a-z0-9]/i","_",$name)."' style='vertical-align:top;height:0px;'>".