Code

Added schema requrements
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 May 2010 08:59:05 +0000 (08:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 May 2010 08:59:05 +0000 (08:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18646 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_acl.inc
gosa-core/include/class_core.inc

index 368e4270c608c3656c07454765d1bbcc46f79bf2..0a325f1b5892bfd97c8c7ca45a5b43caea1eaf71 100644 (file)
@@ -1285,6 +1285,7 @@ class acl extends plugin
           "plDepends"     => array(),
           "plPriority"    => 0,
           "plSection"     => array("administration"),
+          "plRequirements"=> array('ldapSchema' => array('gosaAcl' => '>=2.7')),
           "plCategory"    => array("acl" => array("description"  => _("ACL")."&nbsp;&amp;&nbsp;"._("ACL roles"),
                                                           "objectClass"  => array("gosaAcl","gosaRole"))),
           "plProvidedAcls"=> array(
index db96508f55ed0516f88dcb2673466e292c04b04f..2b7c5a6b24e9c18e41119b7849c0adc1e0336785 100644 (file)
@@ -100,6 +100,17 @@ class core extends plugin {
                     "plPriority"    => 0,
                     "plSection"     => array("administration"),
                     "plCategory"    => array("all"),
+
+                    "plRequirements"=> array(
+                        'ldapSchema' => array(
+                            'gosaObject' => '>=2.7',
+                            'gosaLockEntry' => '>=2.7',
+                            'gosaCacheEntry' => '>=2.7',
+                            'gosaConfig' => '>=2.7',
+                            'gosaProperties' => '>=2.7'
+                            )
+                        ),
+
                     "plProperties"  => array(
 
                         array(