# HG changeset patch # User Laurent Peuch # Date 1550771825 -3600 # Node ID a9f15d3d65f9560b6c4ea077ee49f0298f2c7865 # Parent c0ad7aa36e4abaf712dee24211c1f7493bce9d2a [doc] plural diff -r c0ad7aa36e4a -r a9f15d3d65f9 doc/tutorials/advanced/part02_security.rst --- a/doc/tutorials/advanced/part02_security.rst Thu Feb 21 18:56:42 2019 +0100 +++ b/doc/tutorials/advanced/part02_security.rst Thu Feb 21 18:57:05 2019 +0100 @@ -55,10 +55,10 @@ * add a `visibility` attribute on `Folder`, `File` and `Comment`, which may be one of the value explained above * add a `may_be_read_by` relation from `Folder`, `File` and `Comment` to `users`, + which will define who can see the entity +* security propagation will be done in hooks - which will define who can see the entity -* security propagation will be done in hook. So the first thing to do is to modify my cube's :file:`schema.py` to define those relations: