|
[symfony-users] Re: sfGuard get permission: msg#00883symfony-users
Try hasCredential() instead of hasPermission() if you use $sf_user. I think the latter only works for an sfGuardUser object, i.e. something like $sf_user->getGuardUser()->hasPermission('bla')
2009/7/30 ShotoKan <shotok4n@xxxxxxxxx>
--~--~---------~--~----~------------~-------~--~----~ 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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to symfony-users+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |