summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5730d53)
raw | patch | inline | side by side (parent: 5730d53)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 09:34:46 +0000 (09:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 09:34:46 +0000 (09:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10017 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc
index 21f65321876afd4684ad32aafa459052af147b56..b1d2ede9b64f2c12aec300c21b7760fd8bf29733 100644 (file)
/* Get acls for this tab,
there is only one attribute to write,
so we use the acls from gofon/marco */
- $ACLs = $this->ui->get_permissions($this->dn,"gofonmacro/macro","goFonMarcoContent");
+ if($this->is_new){
+ $ACLs = $this->ui->get_permissions($this->base,"gofonmacro/macro","goFonMacroContent");
+ }else{
+ $ACLs = $this->ui->get_permissions($this->dn,"gofonmacro/macro","goFonMacroContent");
+ }
/* get current content */
$macroManagment = session::get('macroManagment') ;