I'm trying to determine what sfGuardPermission was required for an action,
from within the action. Is this possible?
*myModule/config/security.yml:*
show:
credentials: view something
*myModule/actions/actions.class.php:*
class myModuleActions extends sfActions {
public function executeShow(sfRequest $request) {
// determine required credential... (view something)
}
}
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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