From 43aa42aff6eed0e27a2a3eca01f5ed19b9fa7c57 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Dec 2005 08:13:53 +0000 Subject: [PATCH] Fixed acls for confernces git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2198 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/conference/class_phoneConferenceGeneric.inc | 6 +----- plugins/gofon/conference/class_phoneConferenceManagment.inc | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc index 555f5e3f9..961650e37 100644 --- a/plugins/gofon/conference/class_phoneConferenceGeneric.inc +++ b/plugins/gofon/conference/class_phoneConferenceGeneric.inc @@ -26,7 +26,6 @@ class conference extends plugin var $base = ""; var $ou = ""; var $goFonPIN = ""; - var $acl = ""; var $old_cn = ""; var $goFonConferenceOption = ""; @@ -84,7 +83,7 @@ class conference extends plugin } $acl= get_permissions ($this->dn, $this->ui->subtreeACL); - $this->acl= get_module_permission($acl, "goFonConference", $this->dn); + $this->acl= get_module_permission($acl, "conference", $this->dn); $this->goFonConferenceOwner=$this->ui->dn; /* Parse Options ... @@ -114,9 +113,6 @@ class conference extends plugin /* Call parent execute */ plugin::execute(); - //$acl= get_permissions ($this->dn, $this->ui->subtreeACL); - //$this->acl= get_module_permission($acl, "goFonConference", $this->dn); - $this->config->departments = get_departments($this->dn); $this->config->make_idepartments(); $smarty= get_smarty(); diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc index 1bddbdf66..1264796f2 100644 --- a/plugins/gofon/conference/class_phoneConferenceManagment.inc +++ b/plugins/gofon/conference/class_phoneConferenceManagment.inc @@ -216,7 +216,6 @@ class phoneConferenceManagment extends plugin /* Register conftab to trigger edit dialog */ $this->conftab= new conferencetabs($this->config,$this->config->data['TABS']['CONFERENCETABS'], $this->dn); - $this->conftab->set_acl($this->acl); $_SESSION['objectinfo']= $this->dn; } @@ -226,7 +225,6 @@ class phoneConferenceManagment extends plugin /* Set up the users ACL's for this 'dn' */ $this->dn= "new"; $this->conftab= new conferencetabs($this->config,$this->config->data['TABS']['CONFERENCETABS'], $this->dn); - $this->conftab->set_acl($this->acl); unset($_SESSION['objectinfo']);// } -- 2.30.2