I don't think you can make this .yml file dynamic, but you can create dynamic credential checks with something like sfBasicSecurityFilter. You can check its source here: http://trac.symfony-project.org/browser/branches/1.2/lib/filter/sfBasicSecurityFilter.class.php Focus on the forwardToSecureAction() and forwardToLoginAction() functions.
On Thu, Apr 9, 2009 at 13:08, HAUSa <[email protected]> wrote: > > * reminder * > I really need this, can anyone help me please? :) > Thx in advance! > > On 8 apr, 19:48, HAUSa <[email protected]> > wrote: >> Is there a way to dynamically generate the security.yml file? >> >> In that file you can configure which credentials are required for the >> execution of an action. But I want top users to be able to configure >> the credentials themselfs in web forms, they need to be able to choose which >> credentials are required for the different modules. >> >> That's why I want to set the credentials in the security.yml >> dynamically with PHP. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
