# HG changeset patch # User Sylvain Thénault # Date 1275910306 -7200 # Node ID 3a46fd84acc4136029c6bb6ba5767e9eb50e783e # Parent 0f2ded880d014367d309dfe1d2a99d72b2ddad72 [security hooks] fix bad merge diff -r 0f2ded880d01 -r 3a46fd84acc4 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):