diff --git a/gosa-core/plugins/admin/users/user-list.xml b/gosa-core/plugins/admin/users/user-list.xml
index 734be00a739547bff540017a910de4efe4057a00..c6b48996e13a4408705225b36d6aa54537550426 100644 (file)
<definition>
<departmentBrowser>true</departmentBrowser>
<departmentRootVisible>false</departmentRootVisible>
+ <baseMode>true</baseMode>
<multiSelect>true</multiSelect>
<template>user-list.tpl</template>
<module>users</module>
<label>List of users</label>
+ <defaultSortColumn>1</defaultSortColumn>
<objectType>
+ <label>Users</label>
<objectClass>gosaAccount</objectClass>
+ <objectClass>!gosaUserTemplate</objectClass>
+ <category>users</category>
+ <class>user</class>
<image>plugins/users/images/select_user.png</image>
- <priority>2</priority>
</objectType>
<objectType>
+ <label>Templates</label>
<objectClass>gosaUserTemplate</objectClass>
- <priority>1</priority>
+ <category>users</category>
+ <class>user</class>
<image>plugins/users/images/select_template.png</image>
</objectType>
</definition>
<table>
- <layout>|20px||145px|80px;r|</layout>
+ <layout>|20px||145px|165px;r|</layout>
+
+ <department>
+ <value>%{filter:objectType(dn,objectClass)}</value>
+ </department>
+
+ <department>
+ <value>%{filter:departmentLink(row,dn,description)}</value>
+ </department>
<column>
<value>%{filter:objectType(dn,objectClass)}</value>
<column>
<label>Name / Department</label>
- <sortable>true</sortable>
- <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
+ <sortAttribute>sn</sortAttribute>
+ <sortType>string</sortType>
+ <value>%{filter:link(row,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
+ <export>true</export>
</column>
<column>
<label>Properties</label>
- <sortable>false</sortable>
<value>%{filter:accountProperties(dn,row,objectClass)}</value>
</column>
<column>
<label>Actions</label>
- <sortable>false</sortable>
- <value>%{filter:actions()}</value>
+ <value>%{filter:actions(dn,row,objectClass)}</value>
</column>
</table>
<actionmenu>
<action>
<type>sub</type>
- <image>images/lists/new.png</timage>
+ <image>images/lists/new.png</image>
<label>Create</label>
<action>
<name>create_user</name>
<type>entry</type>
- <image>plugins/users/images/list_new_user.png</timage>
- <acl>c</acl>
+ <image>plugins/users/images/list_new_user.png</image>
+ <acl>users/user[c]</acl>
<label>User</label>
</action>
<action>
<name>create_template</name>
<type>entry</type>
- <image>images/lists/new.png</timage>
- <acl>c</acl>
+ <image>images/lists/new.png</image>
+ <acl>users/user[c]</acl>
<label>Template</label>
</action>
<action>
<name>edit</name>
<type>entry</type>
- <image>images/lists/edit.png</timage>
- <acl>rw</acl>
+ <image>images/lists/edit.png</image>
<label>Edit</label>
</action>
<action>
<name>password</name>
<type>entry</type>
- <image>plugins/users/images/list_password.png</timage>
- <acl>users/password;w</acl>
+ <image>plugins/users/images/list_password.png</image>
<label>Change password</label>
</action>
<action>
<name>remove</name>
<type>entry</type>
- <image>images/lists/trash.png</timage>
- <acl>d</acl>
+ <image>images/lists/trash.png</image>
<label>Remove</label>
</action>
<action>
<name>templatize</name>
<type>entry</type>
- <image>plugins/users/images/wizard.png</timage>
- <acl>w</acl>
+ <image>plugins/users/images/wizard.png</image>
<label>Apply template</label>
</action>
<type>copypaste</type>
</action>
+ <action>
+ <type>separator</type>
+ </action>
+
<action>
<type>snapshot</type>
</action>
+ <action>
+ <type>separator</type>
+ </action>
+
+ <action>
+ <type>exporter</type>
+ </action>
</actionmenu>
<actiontriggers snapshot="true" copypaste="true">
+ <action>
+ <name>templatize</name>
+ <type>entry</type>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <image>plugins/users/images/wizard.png</image>
+ <label>Apply template</label>
+ </action>
+
<action>
<type>copypaste</type>
</action>
<action>
<name>edit</name>
<type>entry</type>
- <image>images/lists/edit.png</timage>
- <acl>w</acl>
+ <objectclass>gosaAccount</objectclass>
+ <image>images/lists/edit.png</image>
<label>Edit user</label>
</action>
<action>
<name>lock</name>
<type>entry</type>
- <image>%{filter:lockImage(userPassword)}</timage>
- <acl>users/password;w</acl>
+ <objectclass>gosaAccount</objectclass>
+ <image>%{filter:lockImage(userPassword)}</image>
+ <acl>users/password[w]</acl>
<label>%{filter:lockLabel(userPassword)}</label>
</action>
<action>
<name>password</name>
<type>entry</type>
- <image>plugins/users/images/list_password.png</timage>
- <acl>users/password;w</acl>
+ <objectclass>gosaAccount</objectclass>
+ <image>plugins/users/images/list_password.png</image>
+ <acl>users/password[w]</acl>
<label>Change password</label>
</action>
<action>
<name>remove</name>
<type>entry</type>
- <image>images/lists/trash.png</timage>
- <acl>d</acl>
+ <objectclass>gosaAccount</objectclass>
+ <image>images/lists/trash.png</image>
+ <acl>users/user[d]</acl>
<label>Remove user</label>
</action>