views:

45

answers:

0

Hi everyone,

I'm working with symphony 1.4 with the Doctrine ORM. I want to display in the edit and list action some fields of a form depending on the credentials of the user. An example, if the user has admin credentials, the filed secret_notes will appear and it could be modified. Otherwise it doesn't appear and it couldn't be modified. I have read something about doing this in the generator.yml, but this doesn't work. I'm doing something wrong? Any ideas?

Is there a better way to this?

Thanks,