Thanks, that's exactly what I needed to know about.
I'll spend time rereading helpers since it must be time for my second pass.

Much appreciated.
 - Michael

On Sat, Sep 25, 2010 at 12:41 PM, Wanderson <wpolica...@gmail.com> wrote:

> You could make use of link_to_if helper with $sf_user->hasPermission()
> method. Take a look at them.
>
> 2010/9/25, Michael Hodges <mhodg...@gmail.com>:
> > Hello all,
> >
> > My layout features a main menu of options, each option being a link.
> > Currently, a user clinks on a link and then permission logic determines
> if
> > the user gets the page, or a security warning.
> > I'd like to disable those links for which a user should not even bother
> > clicking, essentially, to gray them out.
> > Has anyone accomplished this or know of a good reference for me to read?
> > I've been combing the Internet for ideas, but so far, nothing.
> >
> > Thanks,
> >  - Michael
> >
> > --
> > 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 symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> 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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to