Hi there,
removing some widgets from sfGuard forms is quite common, so you are
in good company!
The approach is to unset($this['permission_list']) insisde the
configure method of the incriminated form.
To make sure the form you are editing is being called just put a
die('HERE I AM') after your edit and see if you get that message when
you refresh the browser.
If this doesn't happen, Symfony is not using your form in which case
you may try to:
1. clear the cache
2. tell us where you put it
Cheers,
Francesco
On Wed, Mar 16, 2011 at 7:11 PM, elitalon <[email protected]> wrote:
> Hi,
>
> I'm trying to setup an authentication and authorization schema to
> access a website backend and I need to make some modification to
> sfDoctrineGuardPlugin modules. In particular I need to remove the
> 'permissions_list' widgets from sfGuardUser and sfGuardGroup.
>
> I have tried to do it creating a custom generator.yml file for these
> modules, but it did not work. However, I can change the 'label' values
> with this generator.yml.
>
> I have also tried to override the sfGuardUserAdminForm class, but no
> results at all.
>
> I am wondering why the plugin is ignoring (partially) my custom files
> and classes and what is the correct way to do this.
>
> Thanks!
>
> --
> 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
>
--
francesco levorato aka flevour
http://flevour.net/ - @flevour
"Now while the blood is hot you should make your way with vigour to
better things." (Seneca)
--
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