# HG changeset patch # User Aurelien Campeas # Date 1381244205 -7200 # Node ID 15bd24f9b9e0792ca39c6d4dd7fbfd581d831e96 # Parent cd45a1cc9b38a820778dfcaa02220a79ba644099 [doc/book/security] update description of entity update (Related to #2932033) diff -r cd45a1cc9b38 -r 15bd24f9b9e0 doc/book/en/devrepo/datamodel/definition.rst --- a/doc/book/en/devrepo/datamodel/definition.rst Thu Oct 24 12:36:12 2013 +0200 +++ b/doc/book/en/devrepo/datamodel/definition.rst Tue Oct 08 16:56:45 2013 +0200 @@ -476,13 +476,8 @@ Here are the current rules: -1. permission to add/update entity and its attributes are checked: - - - on commit if the entity has been added - - - in an 'after_update_entity' hook if the entity has been updated. If it fails - at this time, it will be retried on commit (hence you get the permission if - you have it just after the modification or *at* commit time) +1. permission to add/update entity and its attributes are checked on + commit 2. permission to delete an entity is checked in 'before_delete_entity' hook