Code

Updated acls
[gosa.git] / plugins / personal / connectivity / class_opengwAccount.inc
index b7ea6b6c31f4b7bf084eab02b2584e8e1beb9773..c4042e3f3ae79ad9e0c9c25c7d8e1924643363b1 100644 (file)
@@ -6,11 +6,6 @@ class opengwAccount extends plugin
        var $plHeadline       = "Opengroupware account";
        var $plDescription    = "This does something";
 
-       /* CLI vars */
-       var $cli_summary      = "Manage users webdav account";
-       var $cli_description  = "Some longer text\nfor help";
-       var $cli_parameters   = array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
        /* attribute list for save action */
        var $attributes       = array();
        var $objectclasses    = array();
@@ -326,6 +321,23 @@ class opengwAccount extends plugin
                }
        }
 
+  
+  function PrepareForCopyPaste($src){
+    // Nothing to do, because this object can't be copied ... yet
+  }
+
+
+ /* Return plugin informations for acl handling 
+      #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */  
+  function plInfo()
+  {
+    return (array(     
+          "plDescription"   => _("Open groupware account settings"),
+          "plSelfModify"    => TRUE,
+          "plDepends"       => array("objectClass" => "gosaAccount"),
+          "opengwAccount"   => "!!! FIXME "._("Open groupware account")));
+  }
+  
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>