symfony2admingenerator/AdmingeneratorGeneratorBundle — pull request #320 by kufi (2013-01-15 14:57:15+00:00)
Title: Changed isGranted in EditType

Get the object from the form, so the expression can also check for permissions through ACL.
The view CommonAdmin/EditTemplate/fieldset.php.twig already does the same thing as the updated code (line {{ echo_if_granted(builder.Columns[field].credentials, builder.ModelClass) }}).