Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2464 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
1797
2
mar. 15
4479
1
mar. 15
7941
1
iul. 24
4600
1
apr. 22
4346