summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32a8d5c)
raw | patch | inline | side by side (parent: 32a8d5c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Sep 2005 11:05:49 +0000 (11:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Sep 2005 11:05:49 +0000 (11:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1346 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history | |
plugins/gofon/conference/class_phoneConferenceManagment.inc | patch | blob | history |
diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc
index 1ae62b9131c3587163a8cfcaacac78f8d260a6c2..a119c495dbdbef6d7e4483f969bfb5c2cb6b0a19 100644 (file)
function execute()
{
- $acl= get_permissions ($this->dn, $this->ui->subtreeACL);
- $this->acl= get_module_permission($acl, "goFonConference", $this->dn);
+ //$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();
diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc
index e4913b2f4092ae18f827e461169197a143415d94..112e54223eb37e1fb152aacbb80c0360bafd0262 100644 (file)
/* Register conftab to trigger edit dialog */
$this->conftab= new conferencetabs($this->config,$this->config->data['TABS']['CONFERENCETABS'], $this->dn);
- $this->conftab->set_acl(array(":all"));
+ $this->conftab->set_acl($this->acl);
$_SESSION['objectinfo']= $this->dn;
}
/* Insert new entry*/
if($s_action == "new"){
+ $this->dn= "new";
+ /* Set up the users ACL's for this 'dn' */
+ $this->acl= get_permissions ($this->dn, $this->ui->subtreeACL);
$this->dn= "new";
$this->conftab= new conferencetabs($this->config,$this->config->data['TABS']['CONFERENCETABS'], $this->dn);
+ $this->acl= get_permissions ($this->conftab->dn, $this->ui->subtreeACL);
+ $this->conftab->set_acl($this->acl);
$this->conftab->set_acl(array(':all'));
+ $_SESSION['objectinfo']= $this->dn;
}
/* Edit finished, check and save changes */