Code

updated acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 12:41:05 +0000 (12:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 12:41:05 +0000 (12:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17068 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/personal/environment/class_environment.inc

index 5e8448abca8cbb8b6b4cc739f1a62beba0bbb0e2..055063c704f3a96190822e89452e50eb7032ff42 100644 (file)
@@ -68,9 +68,9 @@ class environment extends plugin
 
   var $attributes         = array("uid","gotoProfileServer","gotoProfileFlags","gotoHotplugDeviceDN",
       "gotoXResolution","gotoProfileQuota",
-      "gotoLogonScripts","gotoLogonScript",
+      "gotoLogonScript",
       "gotoPrinter", "gosaDefaultPrinter",
-      "gotoShares","gotoShare",
+      "gotoShare",
       "gotoKioskProfile");
   var $objectclasses      = array("gotoEnvironment"); // Specifies the objectClass which contains the attributes edited here 
   var $cn;
@@ -509,7 +509,7 @@ class environment extends plugin
       $smarty->assign($s_attr."ACL",$this->getacl($s_attr));
     }
 
-    foreach(array("gotoHotplugDevice","gotoProfileFlagC","gotoProfileFlagL") as $s_attr){
+    foreach(array("gotoProfileFlagC","gotoProfileFlagL") as $s_attr){
       $smarty->assign($s_attr."ACL",$this->getacl($s_attr));
     }
 
@@ -1115,7 +1115,7 @@ class environment extends plugin
       plugin::save_object();
       foreach($this->attributes as $s_attr){
         if((!isset($_POST[$s_attr])) || 
-            in_array($s_attr,array("gosaDefaultPrinter","gotoShares","gotoHotplugDevices","gotoPrinter","gotoLogonScripts","uid"))) continue;
+            in_array($s_attr,array("gosaDefaultPrinter","gotoShare","gotoHotplugDevices","gotoPrinter","gotoLogonScripts","uid"))) continue;
         if(!$this->acl_is_writeable($s_attr)){
           continue;
         }else{ 
@@ -1777,11 +1777,13 @@ class environment extends plugin
 
           "plProvidedAcls"  => array(
 
+            "gotoPrinter"         => _("Printer") ,
             "gotoProfileServer"   => _("Profile server") ,
+            "gosaDefaultPrinter"  => _("Default printer"),
             "gotoProfileQuota"    => _("Profile quota") ,
             "gotoProfileFlagC"    => _("Cache profile localy") ,
-            "gotoShare"           => _("Shares"),
-            "gotoHotplugDevice"   => _("Hotplug devices"),
+            "gotoShare"          => _("Shares"),
+            "gotoHotplugDeviceDN" => _("Hotplug devices"),
             "gotoKioskProfile"    => _("Kiosk profile") ,
             "gotoProfileFlagL"    => _("Resolution changeable during session") ,
             "gotoXResolution"     => _("Resolution") ,