Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4761 Visualizzazioni

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. 


Avatar
Abbandona
Risposta migliore

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. 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
gen 24
3090
0
gen 24
1454
0
dic 20
2015
0
giu 17
3060
1
ott 15
3911