summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8bd715)
raw | patch | inline | side by side (parent: d8bd715)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 09:04:00 +0000 (09:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 09:04:00 +0000 (09:04 +0000) |
-Updated the service listing for servers, it uses a filter which checks no acls anymore.
-Fixed error in class_systemManagement.inc when a not available object type was edited.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@21002 594d385d-05f5-0310-b6e9-bd551577e9d8
-Fixed error in class_systemManagement.inc when a not available object type was edited.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@21002 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/serverService-list.xml | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 39835f2275e1d0819fc96b759934d2b43b9d3444..3c2b052f4ce518de9f461479be2f42f2c36d4f7c 100644 (file)
// Delete the object
$this->dn = $dn;
if($info['tabClass'] == "phonetabs"){
- $this->tabObject= new $tabtype($this->config, $this->config->data['TABS'][$tabobj], $dn,$type);
+ $this->tabObject= new $info['tabClass']($this->config, $this->config->data['TABS'][$info['tabDesc']], $dn,$type);
$this->tabObject->set_acl_base($dn);
$this->tabObject->by_object['phoneGeneric']->remove_from_parent ();
}else{
$headpage = $this->getHeadpage();
$dn = $target[0];
$type =$headpage->getType($dn);
+
+ if(!isset($tInfo[$type])){
+ msg_dialog::display(_("Information"),sprintf(_("The object-type '%s' cannot be managed with your setup of GOsa, please install the required plugins!"), $type), ERROR_DIALOG);
+ return;
+ }
+
$tData = $tInfo[$type];
if($type == "FAKE_OC_ArpNewDevice"){
{
$tabs = array(
"device" => array(
- "ou" => get_ou('Device','DeviceRDN'),
+ "ou" => get_ou('Device','GOsaDeviceRDN'),
"plugClass" => "Device",
"tabClass" => "DeviceTab",
"tabDesc" => "NEWDEVICETABS",
diff --git a/gosa-plugins/systems/admin/systems/serverService-list.xml b/gosa-plugins/systems/admin/systems/serverService-list.xml
index 8ee8fd581ee7f74259f3ecac4481a6d7b7fc14a8..fba991ec396172f3e244e70d7d4ee130db0b17d5 100644 (file)
<template>serverService-list.tpl</template>
<label>List of services</label>
<defaultSortColumn>1</defaultSortColumn>
+ <noAclChecks>true</noAclChecks>
<objectType>
<label>Service</label>