# HG changeset patch # User Laurent Peuch # Date 1550771825 -3600 # Node ID d6fc05be2b4c919252ec81f52ba89872b24a1158 # Parent d26382fc15d86210ce790a3f9e2a8217083be5c1 [doc] plural diff -r d26382fc15d8 -r d6fc05be2b4c 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: