summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3439d0c)
raw | patch | inline | side by side (parent: 3439d0c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 11:07:40 +0000 (11:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 11:07:40 +0000 (11:07 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18510 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc
index 3ff8d97bc4e25fc348c0797f160f70b484ee92ab..ae7aa21c7814590cf07711e7eed103e8b241ccd6 100644 (file)
/* 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){