Inject the user in the form's constructor via the $options parameter,
use that in the configure() function.

On Mon, Dec 20, 2010 at 16:27, Stan McFarland <[email protected]> wrote:
> Hi,
>
> I guess the subject says it all.  :)  Looking for suggestions as to
> how best to hide specific form fields (not in the backend generator,
> but the frontend)  based on user credentials.   Thanks!
>
> -stan
>
>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> 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
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to