İçereği Atla
Menü
Bu soru işaretlendi
2446 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
1772
2
Mar 15
4477
1
Mar 15
7938
1
Tem 24
4590
1
Nis 22
4320