Skip to Content
Menu
This question has been flagged
2058 Zobrazenia

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šiť
Related Posts Replies Zobrazenia Aktivita
2
nov 24
1215
2
mar 15
4024
1
mar 15
7501
1
júl 24
4165
1
apr 22
3761