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

I have a publisher group . They have the permission to read/write/delete for their created records only. i.e ('create_uid','=', user.id).

This is working fine.  But my requirement is they can also read records created by other publisher , i.e.('create_uid','!=', user.id) where only read permission will be applicable.  

But When i write the record rule for that domain , i am able to read/write /delete other's record. is there any other way around or am i doing anything wrong. 


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

It's simpler to set the domain for the second record rule as [(1,'=',1)]

You are granting Read access to all records, and Full access to their own records. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ม.ค. 24
3208
0
ม.ค. 24
1547
0
ธ.ค. 20
2090
0
มิ.ย. 17
3135
1
ต.ค. 15
4004