doc/book/en/development/datamodel/definition.rst
branchstable
changeset 4744 0772d4e29d52
parent 4464 437cc57f7474
child 4936 a4b772a0d801
equal deleted inserted replaced
4743:026a89520184 4744:0772d4e29d52
   264 
   264 
   265 * `owners` : virtual group corresponding to the entity's owner.
   265 * `owners` : virtual group corresponding to the entity's owner.
   266   This can only be used for the actions `update` and `delete` of an entity
   266   This can only be used for the actions `update` and `delete` of an entity
   267   type.
   267   type.
   268 
   268 
   269 It is also possible to use specific groups if they are defined in the precreate
   269 It is also possible to use specific groups if they are defined in the
   270 of the cube (``migration/precreate.py``).
   270 precreate of the cube (``migration/precreate.py``). Defining groups in
       
   271 postcreate or even later makes them NOT available for security
       
   272 purposes (in this case, an `sync_schema_props_perms` command have to
       
   273 be issued in a CubicWeb shell).
   271 
   274 
   272 
   275 
   273 Use of RQL expression for write permissions
   276 Use of RQL expression for write permissions
   274 ```````````````````````````````````````````
   277 ```````````````````````````````````````````
   275 It is possible to define RQL expression to provide update permission
   278 It is possible to define RQL expression to provide update permission