From c8a34c6fb3550c352e7cd0bb6cbae5432252fd49 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 3 Feb 2009 13:04:37 +0000 Subject: [PATCH] Updated DNS. -Allow creation of DNS Zones for new (still unsaved) servers. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13378 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dns/admin/systems/services/dns/class_servDNS.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc index c821a5333..59e15d712 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc @@ -203,9 +203,12 @@ class servdns extends goService /* Add empty new zone */ - if(isset($_POST['AddZone'])){ - $this->dialog = new servdnseditZone($this->config,$this->dn); - } + if(isset($_POST['AddZone'])){ + $this->dialog = new servdnseditZone($this->config,$this->dn); + if($this->is_new){ + $this->dialog->acl_base = $this->acl_base; + } + } /* Check for edit zone request */ -- 2.30.2