Wonderfully! I have tried this very useful simple option. It functions! With thousand thanks! -------------------------------- On 18 juin, 11:43, franz <[EMAIL PROTECTED]> wrote: > You can specify this in your generator.yml. > > list: > actions: > _create: credentials: [admin] > > More info in the book > :http://www.symfony-project.com/book/trunk/14-Generators#Restricting > User Actions Using Credentials > > Hope that helps ! > > On Jun 18, 9:36 am, domyck <[EMAIL PROTECTED]> wrote: > > > How to make the create button to appear or not in the admin list > > template, according to the credentials of the logged user ? For > > exemple, I want that this button does not appear if the current logged > > user has not an 'admin' credential. With my thanks in advance.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
