|
[symfony-users] sfGuard get permission: msg#00865symfony-users
Hello... I have a trouble with the sfGuardPlugin: I need check if the user have the permission "X". I use $sf_user->hasPermission('X') but the plugin returns FALSE because the user don't have this permission directly... he have the permission through one group. For example: the user "Paul" is in the group "tester".... the group "tester" have the permission "X".... If i use hasPermission("X"), the system return FALSE. How can I solve this proble? --~--~---------~--~----~------------~-------~--~----~ 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 |