Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2065 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
nov. 24
1217
2
mar. 15
4025
1
mar. 15
7505
1
jul. 24
4166
1
apr. 22
3761