Code

Updated check for activated faiManagement
[gosa.git] / gosa-core / plugins / addons / configViewer / property-list.xml
index b973198d89254309d747e9636f85e785155794df..eed237679e3a7d21c2d443cdce0c5f9247923e5b 100644 (file)
@@ -6,41 +6,89 @@
     <departmentRootVisible>false</departmentRootVisible>
     <baseMode>false</baseMode>
     <multiSelect>true</multiSelect>
-    <template>sudo-list.tpl</template>
-    <module>sudo</module>
-    <label>List of sudo roles</label>
+    <template>property-list.tpl</template>
+    <module>all</module>
+    <label>List of configuration settings</label>
     <defaultSortColumn>1</defaultSortColumn>
 
     <objectType>
-      <label>Role</label>
-      <objectClass>sudoRole</objectClass>
-      <category>sudo</category>
-      <class>sudo</class>
-      <image>plugins/sudo/images/select_sudo.png</image>
+      <label>Property not used</label>
+      <objectClass>undefined</objectClass>
+      <category>all</category>
+      <class>all</class>
+      <image>images/lists/element.png</image>
+    </objectType>
+
+    <objectType>
+      <label>Property will be restored</label>
+      <objectClass>removed</objectClass>
+      <category>all</category>
+      <class>all</class>
+      <image>images/lists/trash.png</image>
+    </objectType>
+
+    <objectType>
+      <label>Modified property</label>
+      <objectClass>modified</objectClass>
+      <category>all</category>
+      <class>all</class>
+      <image>plugins/configViewer/images/ldap.png[new]</image>
+    </objectType>
+
+    <objectType>
+      <label>Property configured in ldap</label>
+      <objectClass>ldap</objectClass>
+      <category>all</category>
+      <class>all</class>
+      <image>plugins/configViewer/images/ldap.png</image>
+    </objectType>
+
+    <objectType>
+      <label>Property configured in config file</label>
+      <objectClass>file</objectClass>
+      <category>all</category>
+      <class>all</class>
+      <image>plugins/configViewer/images/file.png</image>
     </objectType>
 
   </definition>
 
   <table>
-    <layout>|20px;c|120px||170px;r|</layout>
+    <layout>|20px;c|80px|100px|200px||60px;r|</layout>
 
     <column>
       <value>%{filter:objectType(dn,objectClass)}</value>
     </column>
 
+    <column>
+      <label>Group</label>
+      <sortAttribute>group</sortAttribute>
+      <sortType>string</sortType>
+      <value>%{filter:propertyGroup(group,description)}</value>
+      <export>true</export>
+    </column>
+
+    <column>
+      <label>Class</label>
+      <sortAttribute>group</sortAttribute>
+      <sortType>string</sortType>
+      <value>%{filter:propertyClass(class,description)}</value>
+      <export>true</export>
+    </column>
+
     <column>
       <label>Name</label>
       <sortAttribute>cn</sortAttribute>
       <sortType>string</sortType>
-      <value>%{filter:link(row,dn,"%s",cn)}</value>
+      <value>%{filter:propertyName(class,cn,description,mandatory)}</value>
       <export>true</export>
     </column>
 
     <column>
-      <label>Description</label>
-      <sortAttribute>description</sortAttribute>
+      <label>Value</label>
+      <sortAttribute>value</sortAttribute>
       <sortType>string</sortType>
-      <value>%{filter:link(row,dn,"%s",description)}</value>
+      <value>%{filter:propertyValue(class,cn,value,type,default,defaults,check,mandatory)}</value>
       <export>true</export>
     </column>
 
 
   <actionmenu>
 
-    <action>
-     <type>sub</type>
-     <image>images/lists/element.png[new]</image>
-     <label>Create</label>
-
-     <action>
-      <name>new</name>
-      <type>entry</type>
-      <image>plugins/sudo/images/select_sudo.png[new]</image>
-      <label>Role</label>
-     </action>
-
-     <action>
-      <name>new_default</name>
-      <type>entry</type>
-      <image>plugins/sudo/images/select_sudo.png</image>
-      <label>Default</label>
-     </action>
-
-    </action>
-
-    <action>
-      <type>separator</type>
-    </action>
-
     <action>
       <name>remove</name>
       <type>entry</type>
       <type>exporter</type>
     </action>
 
-    <action>
-      <type>separator</type>
-    </action>
-
-    <action>
-      <type>copypaste</type>
-    </action>
-
-    <action>
-      <type>snapshot</type>
-    </action>
-
   </actionmenu>
 
-  <actiontriggers snapshot="true" copypaste="true">
-
-    <action>
-      <name>cp</name>
-      <type>copypaste</type>
-    </action>
-
-    <action>
-      <name>edit</name>
-      <type>entry</type>
-      <image>images/lists/edit.png</image>
-      <label>Edit sudo role</label>
-    </action>
-
-    <action>
-      <name>snapshot</name>
-      <type>snapshot</type>
-    </action>
+  <actiontriggers snapshot="false" copypaste="false">
 
     <action>
       <name>remove</name>
       <type>entry</type>
+      <objectclass>ldap</objectclass>
       <image>images/lists/trash.png</image>
-      <acl>sudo/sudo[d]</acl>
-      <label>Remove sudo role</label>
+      <label>Restore to default</label>
     </action>
 
   </actiontriggers>