diff --git a/addons/portal_project_long_term/security/portal_security.xml b/addons/portal_project_long_term/security/portal_security.xml index 2a2f6f2fea1..d8aec542847 100644 --- a/addons/portal_project_long_term/security/portal_security.xml +++ b/addons/portal_project_long_term/security/portal_security.xml @@ -5,15 +5,7 @@ Project/Phase: portal users: public or (portal and colleagues following) or (followers and following) - ['|', '|', - ('project_id.privacy_visibility', 'in', ['public']), - '&', - ('project_id.privacy_visibility', '=', 'portal'), - ('message_follower_ids', 'child_of', [user.partner_id.commercial_partner_id.id]), - '&', - ('project_id.privacy_visibility', '=', 'followers'), - ('message_follower_ids', '=', [user.partner_id.id]), - ] + [('project_id.privacy_visibility', 'in', ['public', 'portal'])]