Saturday, August 28, 2010

Use Auth Component in Helper

Hi Guys,

i would like to create a modified linkhelper that only displays a
link, if the user is allowed to use it.

i have created a mechanism to map users to roles and everything.

but now, i dont know how to access Auth's Userdata in my Helper to
check the users rights before displaying the link.

Or is it a general design failure to create a special helper for this
task..


tell me what you think...

greets
duderion

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate