Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2707 มุมมอง

In the contacts, anyone is able to see anyone else' contacts. Want to block and see only my contacts/companies. Likewise each user should see only the contacts of himself or the users reporting to him. How do we do this?

Version 12.0

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

->Go to Settings > Technical > Security > Record Rules.
->Create a new record rule for the model you want to restrict access to (e.g. Contacts ).
->Set the Domain to ['|', ('user_id', '=', user.id), ('user_id', '=', False)]. This domain will restrict access to records where the user is the owner or the owner is not set.
->Set the Apply for Read field to Yes to apply this rule when reading records.
->Set the Apply for Write field to Yes to apply this rule when writing records.
->Set the Groups field to the appropriate group(s) that should have this restriction applied to them.

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 15
7218
Can not understand Sales Team use แก้ไขแล้ว
5
มี.ค. 24
5515
0
มิ.ย. 15
3857
0
ก.ย. 23
1743
1
ก.พ. 22
3303