From 54286999135c489e7913d1179b337ac9e8c25646 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 May 2010 11:07:40 +0000 Subject: [PATCH] Fixed sudoGeneric -The lists were all empty while creating new sudo objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18510 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc index 3ff8d97bc..ae7aa21c7 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -125,6 +125,12 @@ class sudo extends plugin /* Call parent execute */ plugin::execute(); + // Set list ACLs + foreach(array('sudoUser','sudoCommand','sudoHost','sudoRunAs') as $l){ + $ll = $l."List"; + $this->$ll->setAcl($this->getacl($l)); + } + // Handle trust mode dialog $trustModeDialog = $this->trustModeDialog->execute(); if($this->trustModeDialog->trustSelect){ -- 2.30.2