Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2308 Vizualizări

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!

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
nov. 24
1521
2
mar. 15
4231
1
mar. 15
7717
1
iul. 24
4356
1
apr. 22
4069