diff --git a/gosa-core/plugins/admin/users/user-list.xml b/gosa-core/plugins/admin/users/user-list.xml
index 5111f87bb63636c58180d35c945596d8d7672a35..3a8f0749c772ef2f864e9a1ff114600336f87cf3 100644 (file)
<defaultSortColumn>1</defaultSortColumn>
<objectType>
<defaultSortColumn>1</defaultSortColumn>
<objectType>
- <label>Users</label>
- <objectClass>person</objectClass>
+ <label>Template</label>
+ <objectClass>gosaUserTemplate</objectClass>
+ <category>users</category>
+ <class>user</class>
+ <image>plugins/users/images/select_template.png</image>
+ </objectType>
+
+ <objectType>
+ <label>User</label>
+ <objectClass>gosaAccount</objectClass>
<category>users</category>
<class>user</class>
<image>plugins/users/images/select_user.png</image>
<category>users</category>
<class>user</class>
<image>plugins/users/images/select_user.png</image>
</definition>
<table>
</definition>
<table>
- <layout>|20px||260px|100px|120px|60px;c|140px;r|</layout>
+ <layout>|20px;c||||150px|185px;r|</layout>
<department>
<value>%{filter:objectType(dn,objectClass)}</value>
<department>
<value>%{filter:objectType(dn,objectClass)}</value>
<department>
<value>%{filter:departmentLink(row,dn,description)}</value>
<department>
<value>%{filter:departmentLink(row,dn,description)}</value>
- <span>5</span>
+ <span>3</span>
</department>
<column>
<value>%{filter:objectType(dn,objectClass)}</value>
</column>
</department>
<column>
<value>%{filter:objectType(dn,objectClass)}</value>
</column>
+ <column>
+ <label>Surname</label>
+ <sortAttribute>sn</sortAttribute>
+ <sortType>string</sortType>
+ <value>%{filter:link(row,dn,"%s",sn)}</value>
+ <export>true</export>
+ </column>
+
<column>
<label>Given name</label>
<sortAttribute>givenName</sortAttribute>
<column>
<label>Given name</label>
<sortAttribute>givenName</sortAttribute>
</column>
<column>
</column>
<column>
- <label>Surname</label>
- <sortAttribute>sn</sortAttribute>
+ <label>Login</label>
+ <sortAttribute>uid</sortAttribute>
<sortType>string</sortType>
<sortType>string</sortType>
- <value>%{filter:link(row,dn,"%s",sn)}</value>
+ <value>%{filter:link(row,dn,"%s",uid)}</value>
<export>true</export>
</column>
<export>true</export>
</column>
+ <column>
+ <label>Properties</label>
+ <value>%{filter:filterProperties(row,objectClass)}</value>
+ </column>
+
<column>
<label>Actions</label>
<value>%{filter:actions(dn,row,objectClass)}</value>
<column>
<label>Actions</label>
<value>%{filter:actions(dn,row,objectClass)}</value>
<actionmenu>
<action>
<actionmenu>
<action>
+ <type>sub</type>
+ <image>images/lists/element.png[new]</image>
+ <label>Create</label>
+
+ <action>
<name>new</name>
<type>entry</type>
<name>new</name>
<type>entry</type>
- <image>plugins/users/images/list_new_user.png</image>
- <label>New person</label>
+ <image>plugins/users/images/select_user.png[new]</image>
+ <label>User</label>
+ </action>
+
+ <action>
+ <name>new_template</name>
+ <type>entry</type>
+ <image>plugins/users/images/select_template.png[new]</image>
+ <label>Template</label>
+ </action>
</action>
<action>
</action>
<action>
<label>Remove</label>
</action>
<label>Remove</label>
</action>
+ <action>
+ <name>password</name>
+ <type>entry</type>
+ <image>plugins/users/images/list_password.png</image>
+ <label>Change password</label>
+ </action>
+
<action>
<type>separator</type>
</action>
<action>
<action>
<type>separator</type>
</action>
<action>
- <name>cp</name>
- <type>copypaste</type>
+ <name>lockUsers</name>
+ <type>entry</type>
+ <image>images/lists/locked.png</image>
+ <acl>users/password[w]</acl>
+ <label>Lock users</label>
+ </action>
+
+ <action>
+ <name>unlockUsers</name>
+ <type>entry</type>
+ <image>images/lists/unlocked.png</image>
+ <acl>users/password[w]</acl>
+ <label>Unlock users</label>
+ </action>
+
+ <action>
+ <name>sendMessage</name>
+ <type>entry</type>
+ <depends>DaemonEvent_notify</depends>
+ <image>plugins/goto/images/notify.png</image>
+ <label>Send message</label>
+ </action>
+
+ <action>
+ <type>separator</type>
+ </action>
+
+ <action>
+ <name>templatize</name>
+ <type>entry</type>
+ <image>plugins/users/images/wizard.png</image>
+ <label>Apply template</label>
+ </action>
+
+ <action>
+ <type>separator</type>
</action>
<action>
<type>exporter</type>
</action>
</action>
<action>
<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">
</actionmenu>
<actiontriggers snapshot="true" copypaste="true">
+ <action>
+ <name>newfromtpl</name>
+ <type>entry</type>
+ <image>images/lists/new.png</image>
+ <objectclass>gosaUserTemplate</objectclass>
+ <label>New user from template</label>
+ </action>
+
+ <action>
+ <name>cp</name>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <type>copypaste</type>
+ </action>
+
<action>
<name>edit</name>
<type>entry</type>
<objectclass>gosaAccount</objectclass>
<image>images/lists/edit.png</image>
<action>
<name>edit</name>
<type>entry</type>
<objectclass>gosaAccount</objectclass>
<image>images/lists/edit.png</image>
- <label>Edit person</label>
+ <label>Edit user</label>
+ </action>
+
+ <action>
+ <name>lock</name>
+ <type>entry</type>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <image>%{filter:lockImage(userPassword)}</image>
+ <acl>users/password[w]</acl>
+ <label>%{filter:lockLabel(userPassword)}</label>
+ </action>
+
+ <action>
+ <name>password</name>
+ <type>entry</type>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <image>plugins/users/images/list_password.png</image>
+ <label>Change password</label>
+ </action>
+
+ <action>
+ <name>snapshot</name>
+ <type>snapshot</type>
+ <objectclass>!gosaUserTemplate</objectclass>
</action>
<action>
</action>
<action>
<image>images/lists/trash.png</image>
<objectclass>gosaAccount</objectclass>
<acl>users/user[d]</acl>
<image>images/lists/trash.png</image>
<objectclass>gosaAccount</objectclass>
<acl>users/user[d]</acl>
- <label>Remove person</label>
- </action>
-
- <action>
- <name>cp</name>
- <type>copypaste</type>
- <acl>users/user[w]</acl>
+ <label>Remove user</label>
</action>
</actiontriggers>
</action>
</actiontriggers>