Se rendre au contenu
Menu
Cette question a été signalée

How can i disable sales model editing with a dynamically computed condition?

I've inherited the model and added a can_edit flag. I'd like to only allow updating a Sale if the flag is true and the User belongs to group X.


Thanks!

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
nov. 24
1212
2
mars 15
4024
1
mars 15
7493
1
juil. 24
4161
1
avr. 22
3756