From 26afa85b7d5e1379a3af56337656a05345c9286d Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Aug 2005 09:47:40 +0000 Subject: [PATCH] fixed aclfixed aclss git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1168 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/conference/class_phoneConferenceManagment.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc index f050f9faf..27b858ee7 100644 --- a/plugins/gofon/conference/class_phoneConferenceManagment.inc +++ b/plugins/gofon/conference/class_phoneConferenceManagment.inc @@ -359,6 +359,8 @@ class phoneConferenceManagment extends plugin $a_field1 = array("string"=>sprintf($userimg,_("Conference"))); + $acl= get_permissions ($conference['dn'], $this->ui->subtreeACL); + $this->acl = get_module_permission($acl, "goFonConference", $conference['dn']); if(($this->ui->dn==$conference['goFonConferenceOwner'][0])&&(chkacl($this->acl,"goFonConferenceOwner")=="")){ $a_field2 = array("string"=>sprintf($editlink,$conferencekey,$conference['cn'][0].$number)); @@ -368,9 +370,6 @@ class phoneConferenceManagment extends plugin $a_field3 = array("string"=> $cn); $a_field4 = array("string"=> $pin); - $acl= get_permissions ($conference['dn'], $this->ui->subtreeACL); - $this->acl = get_module_permission($acl, "goFonConference", $conference['dn']); - if(($this->ui->dn==$conference['goFonConferenceOwner'][0])&&(chkacl($this->acl,"goFonConferenceOwner")=="")){ $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions), "attach" => "style='text-align: right;border:none'"); }elseif(chkacl($this->acl,"goFonConferenceOwner")==""){ @@ -379,7 +378,6 @@ class phoneConferenceManagment extends plugin $a_field5 = array("string"=>" ", "attach" => "style='text-align: right;border:none'"); } - $divlist->AddEntry(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5)); } -- 2.30.2