Code

Fixed sudo filter scope
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 14:21:54 +0000 (14:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 14:21:54 +0000 (14:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16531 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc
gosa-plugins/sudo/admin/sudo/sudo-filter.xml

index 2bbaf088df97a25c99ee1cd73da92c3505044efc..3accca41d71313dafcfa7da68658c35cf40b3b41 100644 (file)
@@ -41,7 +41,7 @@ class sudoManagement extends management
     $this->storagePoints = array(get_ou("sudoRDN"));
  
     // Build filter
-    if (0 && session::global_is_set(get_class($this)."_filter")){
+    if (session::global_is_set(get_class($this)."_filter")){
       $filter= session::global_get(get_class($this)."_filter");
     } else {
       $filter = new filter(get_template_path("sudo-filter.xml", true));
index 4382f380d29183c3b884419980692e4ee79bd48b..80c0460e806578428447d2859b3569fb3f538002 100644 (file)
@@ -6,7 +6,7 @@
     <category>sudo</category>
     <initial>true</initial>
     <default>default</default>
-    <scope>auto</scope>
+    <scope>one</scope>
     <attribute>dn</attribute>
     <attribute>objectClass</attribute>
     <attribute>cn</attribute>