Code

Fixed acl strings
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Aug 2009 07:56:23 +0000 (07:56 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Aug 2009 07:56:23 +0000 (07:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14061 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/user-list.xml

index 88ff5d578f4a73d051efb582e9021461542e24e6..0cd971cda786ba1dc263c8a701b44b70f36dd525 100644 (file)
@@ -45,7 +45,7 @@
     <column>
       <label>Actions</label>
       <sortable>false</sortable>
-      <value>%{filter:actions()}</value>
+      <value>%{filter:actions(dn,row,objectClass)}</value>
     </column>
 
   </table>
@@ -60,7 +60,7 @@
         <name>create_user</name>
         <type>entry</type>
         <image>plugins/users/images/list_new_user.png</image>
-        <acl>users/user:c</acl>
+        <acl>users/user[c]</acl>
         <label>User</label>
       </action>
 
@@ -68,7 +68,7 @@
         <name>create_template</name>
         <type>entry</type>
         <image>images/lists/new.png</image>
-        <acl>users/user:c</acl>
+        <acl>users/user[c]</acl>
         <label>Template</label>
       </action>
 
     <action>
       <name>edit</name>
       <type>entry</type>
+      <objectclass>gosaUserTemplate</objectclass>
+      <image>images/lists/edit.png</image>
+      <label>Edit user</label>
+    </action>
+
+    <action>
+      <name>edit</name>
+      <type>entry</type>
+      <objectclass>gosaAccount</objectclass>
       <image>images/lists/edit.png</image>
       <label>Edit user</label>
     </action>
     <action>
       <name>lock</name>
       <type>entry</type>
+      <objectclass>gosaAccount</objectclass>
       <image>%{filter:lockImage(userPassword)}</image>
-      <acl>users/password:w</acl>
+      <acl>users/password[w]</acl>
       <label>%{filter:lockLabel(userPassword)}</label>
     </action>
 
     <action>
       <name>password</name>
       <type>entry</type>
+      <objectclass>gosaAccount</objectclass>
       <image>plugins/users/images/list_password.png</image>
-      <acl>users/password:w</acl>
+      <acl>users/password[w]</acl>
       <label>Change password</label>
     </action>
 
     <action>
       <name>remove</name>
       <type>entry</type>
+      <objectclass>gosaAccount</objectclass>
       <image>images/lists/trash.png</image>
-      <acl>users/user:d</acl>
+      <acl>users/user[d]</acl>
       <label>Remove user</label>
     </action>