changeset 10547 | a05a698a12af |
parent 10388 | 90fcddcce166 |
child 10548 | 2b398e58ea73 |
--- a/hooks/security.py Thu Jul 09 15:13:10 2015 +0200 +++ b/hooks/security.py Tue Jul 21 18:09:12 2015 +0200 @@ -143,7 +143,7 @@ """ assert rschema.inlined try: - entity = cnx.transaction_data['ecache'][eid] + entity = cnx.entity_cache(eid) except KeyError: return False return rschema.type in entity.cw_edited.skip_security