跳至内容
菜单
此问题已终结
1 回复
4780 查看

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. 

形象
丢弃
相关帖文 回复 查看 活动
2
1月 24
3115
0
1月 24
1467
0
12月 20
2021
0
6月 17
3065
1
10月 15
3931