Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2048 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
1212
2
mar. 15
4024
1
mar. 15
7493
1
iul. 24
4161
1
apr. 22
3756