How can it be quickly tested if current user will be able to perform
an specific action?
I know it´s possible to test for a credential, and also load the
configured credential restrictions, but there should be some how to
test for
"Is current user allowed to perform X action?"
$user->isAuthenticated()
$user->hasCredentialsFor('module/action')
Isn't anything like it?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to