Hmmm... that does make sense. I'll take it into practice, thx!
On 9 apr, 22:31, Richtermeister <[email protected]> wrote: > Hi Hausa, > > maybe I'm wrong but it seems that you're going about it backwards.. > Instead of dynamically controlling what permissions are required, you > should just set those once, and then dynamically control what users > have those permissions. For example, I give every module a general > credential requirement that is the module name. > Sometimes I also extend that to individual actions within that > module.. > There would be no point in ever changing those settings, as long as > the module functionality is not changed. > > Does that make sense? > Daniel > > On Apr 9, 7:09 am, FÁSI Gábor <[email protected]> wrote: > > > I haven't used filters yet, but askeet's day 18 [1] and the Book's > > chapter 6 [2] deal with filters, and the latter one seems to be good > > enough for a kickstart. > > > [1]http://www.symfony-project.org/askeet/1_0/en/18#chapter_18_create-a-f... > > [2]http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Laye... > > > On Thu, Apr 9, 2009 at 14:45, HAUSa > > > <[email protected]> wrote: > > > > Maybe you can explain me how to use sfBasicSecurityFilter? How do I > > > create a filter? > > > There is not good documentation about this. > > > > On 9 apr, 14:10, HAUSa <[email protected]> > > > wrote: > > >> Ok, I will look into it. Thank you! > > >> More suggestions are welcome :) > > > >> On 9 apr, 13:54, FÁSI Gábor <[email protected]> wrote: > > > >> > 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/sfBas... > > >> > 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 -~----------~----~----~----~------~----~------~--~---
