Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4792 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
janv. 24
3125
0
janv. 24
1470
0
déc. 20
2024
0
juin 17
3072
1
oct. 15
3937