[Jaws-commits] r12341 - branches/0.8/html/upgrade/stages

afz at jaws-project.com afz at jaws-project.com
Wed Jan 4 11:18:09 UTC 2012


Author: afz
Date: 2012-01-04 11:18:09 +0000 (Wed, 04 Jan 2012)
New Revision: 12341

Modified:
   branches/0.8/html/upgrade/stages/0815To0816.php
Log:
fixed default ACL value for SysInfo gadget

Modified: branches/0.8/html/upgrade/stages/0815To0816.php
===================================================================
--- branches/0.8/html/upgrade/stages/0815To0816.php	2012-01-04 11:14:00 UTC (rev 12340)
+++ branches/0.8/html/upgrade/stages/0815To0816.php	2012-01-04 11:18:09 UTC (rev 12341)
@@ -101,7 +101,11 @@
         $iGadgets = array_keys($jmsModel->GetGadgetsList(null, true));
         $nAcls = array();
         foreach($iGadgets as $iGadget) {
-            $nAcls[] = array("/ACL/gadgets/$iGadget/default", 'true');
+            if ($iGadget == 'SysInfo') {
+                $nAcls[] = array("/ACL/gadgets/$iGadget/default", 'false');
+            } else {
+                $nAcls[] = array("/ACL/gadgets/$iGadget/default", 'true');
+            }
             $nAcls[] = array("/ACL/gadgets/$iGadget/default_registry", 'true');
         }
         $res = $GLOBALS['app']->ACL->NewKeyEx($nAcls);



More information about the Jaws-commits mailing list