Where is the best place in Joomla MVC (server-side) to forbid users from changing a value in a pre-existing form record? In JTable check
/ bind
/ JModel prepareTable
, or elsewhere?
For context, I have a form in my component with certain fields that shouldn't change after initial creation - though other fields are editable.
I can disable or simply not render the fields in the edit view of the item if it has an ID, but that won't stop a well-crafted POST, so I'd like to simply 'ignore' a series of values if the data array has an ID > 0 (and thus exists).