Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
nov 24
1207
2
mar 15
4023
1
mar 15
7481
1
jul 24
4150
1
abr 22
3741