From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/note/security/note_security.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 addons/note/security/note_security.xml (limited to 'addons/note/security/note_security.xml') diff --git a/addons/note/security/note_security.xml b/addons/note/security/note_security.xml new file mode 100644 index 00000000..3b657e48 --- /dev/null +++ b/addons/note/security/note_security.xml @@ -0,0 +1,25 @@ + + + + Only followers can access a sticky notes + + ['|', ('user_id', '=', user.id), ('message_partner_ids', '=', user.partner_id.id)] + + + + + + note: create / unlink: responsible + + [('user_id', '=', user.id)] + + + + + + Each user have his stage name + + ['|',('user_id','=',False),('user_id','=',user.id)] + + + -- cgit v1.2.3