diff --git a/gosa-core/plugins/addons/configViewer/property-list.xml b/gosa-core/plugins/addons/configViewer/property-list.xml
index 891c5a49969a20fdd0993e2df5b5e080a91f10f1..eed237679e3a7d21c2d443cdce0c5f9247923e5b 100644 (file)
<defaultSortColumn>1</defaultSortColumn>
<objectType>
- <label>Property</label>
- <objectClass>none</objectClass>
+ <label>Property not used</label>
+ <objectClass>undefined</objectClass>
<category>all</category>
<class>all</class>
- <image>plugins/sudo/images/select_sudo.png</image>
+ <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>
<label>Group</label>
<sortAttribute>group</sortAttribute>
<sortType>string</sortType>
- <value>%{group}</value>
+ <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>
<label>Name</label>
<sortAttribute>cn</sortAttribute>
<sortType>string</sortType>
- <value>%{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>%{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>