İçereği Atla
Menü
Bu soru işaretlendi
2436 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
1767
2
Mar 15
4477
1
Mar 15
7934
1
Tem 24
4589
1
Nis 22
4315