If I understand right, what you want is already implemented. To secure a module/action with a credential, you have to: 1/define the needed credential within security.yml 2/create the credential in the DB 3/link your users or groups with the credential.
There is a module to manage credentials, users and groups, look in the sfDoctrineGuardPlugin. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Oct 25, 2010 at 9:51 AM, Ben Bieker <[email protected]> wrote: > Hi dear symfony community, > > my question is how do I do this: I want to seure my wep-app with different > user-roles. But a admin user should be able to configure what group can > access which modules in my symfony app. I can configure credentials in the > security.yml, but that would be a static solution. How can I use these > per-module-restrictions with credentials dynamically? So that a module > always checks from the DB what credential is required for the module that > is currently called? > > Many thanks four your replies in advance! > > -- > 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 > -- 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
