summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d14588)
raw | patch | inline | side by side (parent: 8d14588)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Jan 2010 09:19:06 +0000 (09:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Jan 2010 09:19:06 +0000 (09:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15074 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index f245e934d934564cae0efd8838ead932f451608f..d8b8f15bb563e4c0e54f1c93fa257eeb4819beae 100644 (file)
var $fai_base = "";
var $acl_base = "";
+ var $lock_type = "";
+ var $lock_dn = "";
+ var $lock_name = "";
+
+
function __construct($config,$ui)
{
$this->config = $config;
diff --git a/gosa-plugins/fai/admin/fai/class_filterFAI.inc b/gosa-plugins/fai/admin/fai/class_filterFAI.inc
index 61d12f93696f5d7fe7a22a1ff20d73eb390fa559..06ae4ef7974414cda7e4f841bbb5ef7f547aeb79 100644 (file)
$obj['FAIstate'] = $entry['FAIstate'];
$obj['description'] = $object['description'][0];
$obj['objectClass'] = $object['objectClass'];
+
+ if(!preg_match("/freeze/i", $entry['FAIstate'])){
+ $obj['objectClass'][] = "FAKE_OC_IsBranch";
+ }
+
$obj['TYPES'][] = $type;
$obj['GROUPS'][$type] = $object;
index a44a2a34ac76bee4bd7a09dec9e985cbc3017a9e..23d2e8aad13387be8364d9250ea127ee86386fa9 100644 (file)
<action>
<name>remove</name>
<type>entry</type>
+ <objectclass>FAKE_OC_IsBranch</objectclass>
<image>images/lists/trash.png</image>
<label>Remove role</label>
</action>