hi everyone,
i've protected a form, setting readonly:
if ( !
sfContext::getInstance()->getUser()->hasCredential('xxxxx'))
{
$this->widgetSchema['xxxxxxxxxxxx']-
>setAttribute('readonly','readonly');
$this->validatorSchema['xxxxxxxxxxxxx'] = new
sfValidatorPass();
}
but i can modify the field with firebug ...
while in the doc i read:
sfValidatorPass: sfValidatorPass is an identity validator. It simply
returns the value unmodified.
how to protect against that ?
is removing the validator is a solution ? if yes, how to remove the
validator ?
thanks
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.