Комментарии:
How to restrict user to see his own created contacts?
I create a group (Own Contacts Only)
I created a record rule with domain_force = ([('user_id', '=', user.id)]) and I also tried with [('user_id', '=', uid)].
But whenever I add any user to group (Own Contacts Only) and then log in from that added user, it throws an error:
Error message:
Due to security restrictions, you are not allowed to access 'Users' (res.users) records.
This restriction is due to the following rules:
- Own Contacts Only
Contact your administrator to request access if necessary.
Implicitly accessed through 'Users' (res.users).
waalaiksumsalam
ОтветитьThank you !
Ответить