From: hickert Date: Wed, 26 Jul 2006 06:08:43 +0000 (+0000) Subject: Added acls to pptp X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4a65610ec9025f67a4e8c77b6dd7b21e5f631793;p=gosa.git Added acls to pptp git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4302 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/class_pptpAccount.inc b/plugins/personal/connectivity/class_pptpAccount.inc index 1f0627488..622fc0126 100644 --- a/plugins/personal/connectivity/class_pptpAccount.inc +++ b/plugins/personal/connectivity/class_pptpAccount.inc @@ -1,24 +1,24 @@ assign("wstate", "disabled"); } - - if(($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) { $smarty->assign('gosapptpACL', ""); }else{ @@ -67,7 +65,7 @@ class pptpAccount extends plugin function remove_from_parent() { - if($this->acl_is_removeable()) + if($this->acl_is_removeable()){ /* Cancel if there's nothing to do here */ if (!$this->initially_was_account){ return; @@ -150,13 +148,13 @@ class pptpAccount extends plugin "plShortName" => _("PPTP"), "plDescription" => _("PPTP account"), "plSelfModify" => TRUE, - "plDepends" => array("connectivity"), + "plDepends" => array("user"), "plPriority" => 1, // Position in tabs "plSection" => "personal", // This belongs to personal - "plCategory" => array("gosaAccount"), + "plCategory" => array("users"), "plOptions" => array(), - "plProvidedAcls" => array( + "plProvidedAcls" => array() )); } }