I think my question is just the result of a Friday brainlock but anyway.

Is there a cake way to prevent unwanted fields being inserted into an
edit form post?
* Admin user is allowed to set $nologin to TRUE or FALSE
* but Manager user is only allowed to view it.
* Manager user is however allowed to change other items on the User model
* Admin submits via admin_edit.ctp
* while Manager submits through edit.ctp.

Normally, I would discard all unwanted values. I can certainly do this
here but is there a cake specific way that I am missing?

Gary Dalton

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to