Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2439 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
1769
2
mar. 15
4477
1
mar. 15
7937
1
iul. 24
4590
1
apr. 22
4319