Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2172 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
nov. 24
1391
2
mrt. 15
4124
1
mrt. 15
7603
1
jul. 24
4294
1
apr. 22
3921