Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2055 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
lis 24
1214
2
bře 15
4024
1
bře 15
7501
1
čvc 24
4165
1
dub 22
3760