author | Julien Cristau <julien.cristau@logilab.fr> |
Tue, 21 Jul 2015 18:09:12 +0200 | |
changeset 10547 | a05a698a12af |
parent 10521 | 38b108b6bb1f |
child 10548 | 2b398e58ea73 |
hooks/security.py | file | annotate | diff | comparison | revisions |
--- 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