[security hooks] fix bad merge
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 07 Jun 2010 13:31:46 +0200
changeset 5680 3a46fd84acc4
parent 5679 0f2ded880d01
child 5685 17883ced01f8
[security hooks] fix bad merge
hooks/security.py
--- a/hooks/security.py	Mon Jun 07 13:22:24 2010 +0200
+++ b/hooks/security.py	Mon Jun 07 13:31:46 2010 +0200
@@ -59,7 +59,7 @@
             entity = session.entity_from_eid(values[0])
             action = values[1]
             entity.cw_check_perm(action)
-            check_entity_attributes(session, entity, values[2:])
+            check_entity_attributes(session, entity, values[2:],
                                     creation=self.creation)
 
     def commit_event(self):