콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4955 화면

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
3348
0
1월 24
1596
0
12월 20
2151
0
6월 17
3197
1
10월 15
4137