diff --git a/gosa-core/plugins/admin/users/user-list.xml b/gosa-core/plugins/admin/users/user-list.xml
index c7d5423a640aa8cc4e858d1455ba3bb717f39b30..e17e9ff62533bc08ae1e5b887bd4c3b5499fabd1 100644 (file)
</definition>
<table>
- <layout>|20px||260px|100px|120px|60px;c|140px;r|</layout>
+ <layout>|20px||260px|200px;r|</layout>
<department>
<value>%{filter:objectType(dn,objectClass)}</value>
<department>
<value>%{filter:departmentLink(row,dn,description)}</value>
- <span>5</span>
+ <span>3</span>
</department>
<column>
<type>separator</type>
</action>
- <action>
- <name>cp</name>
- <type>copypaste</type>
- </action>
-
<action>
<type>separator</type>
</action>
<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>
- <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>uniBonnAccount/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>
<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>