İçereği Atla
Menü
Bu soru işaretlendi
2070 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Kas 24
1222
2
Mar 15
4027
1
Mar 15
7508
1
Tem 24
4171
1
Nis 22
3762