Another important thing, "is_superadmin" is set to false so this is not the problem.
On Feb 24, 12:05 am, eljam <[email protected]> wrote: > hi, > > i've got a problem with the credential check of sfDoctrineGuardPlugin. > In fact, i have a permission called "cp" which is perfectly had in the > credential when i check the log. > But when i do a simple test like <?php if($sf_user->hasCredential > ('admin')) echo 'ok'; ?>. it returns ok or the connected user doesn't > have the admin permission. > > NB: myUser already extends sfGuardSecurityUser and i clear the cache > if people wondering. > > Thx in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
