smorele
smorele

Reputation: 157

Restrict events acces in Odoo calendar

In the Odoo calendar, each user can follow a specific calendar and then see events contained in this calendar. Is there a way to prevent this functionnality ? The aim is to:

I've searched in the configuration but I do not find rules.

Upvotes: 2

Views: 1643

Answers (2)

davejal
davejal

Reputation: 6143

This is what I came up with from searches today. It didn't help my scenario, but I think this is the way to go for you.

1- Settings >> security >> Record Rule

2- create new record rule on Meeting Object and the domain is

['|',('partner_ids','in',user.partner_id.id),('user_id','=',user.id)]

For you I think you can remove ('partner_ids','in',user.partner_id.id)

so it becomes:

['|',('user_id','=',user.id)]

Upvotes: 1

Praveen
Praveen

Reputation: 60

Yes, Calendar is open for all.

You have to add the Record rule

Upvotes: 0

Related Questions