Code

Updated snapshot stuff, check acls here too.
[gosa.git] / gosa-plugins / goto / admin / devices / class_deviceManagement.inc
index 5cb193a085d0cdf8fbc562d734f8c33a7b6dd102..7b3f750f66d8280fd19d17f332e75cfd202efd1d 100644 (file)
@@ -18,6 +18,8 @@ class deviceManagement extends plugin
   var $dn ="";
   var $dns = array();
 
+  var $acl_module = array("devices");
+
   function deviceManagement(&$config, $dn= NULL)
   {
     plugin::plugin ($config, $dn);
@@ -421,7 +423,7 @@ class deviceManagement extends plugin
 
         /* Check if there is a snapshot dialog open */
     $base = $this->DivListDevices->selectedBase;
-    if($str = $this->showSnapshotDialog($base,$this->get_used_snapshot_bases())){
+    if($str = $this->showSnapshotDialog($base,$this->get_used_snapshot_bases(),$this)){
       return($str);
     }