[symfony-users] Trying to manage the credentials of the actions

2010-11-03 Thread Javier Garcia
Hi, we want to manage the credentials of the actions of the backend from the backend. How to get the list of the actions of an app? After that we could show the credential of each one through getCredential(). 2nd question: i found the function to get the credential of an action

Re: [symfony-users] Trying to manage the credentials of the actions

2010-11-03 Thread Martin Ibarra Cervantes
the 2nd questiĆ³n its with addCredential() when your user is authenticated example: $user = $this-getUser(); if($r-getNivelId() == 1){ $user-addCredential('basic'); } On Wed, Nov 3, 2010 at 9:52 AM, Javier Garcia