Hi,
2010/11/18 Manu <[email protected]>:
> I haven't found in the docs how to disable that particular action.
It's my sfGuardUser config - it removes both new and delete
generator:
class: sfDoctrineGenerator
param:
config:
actions: { _edit: ~ }
form:
class: sfGuardUserAdminForm
display:
"NONE": [username, password,
password_again, Profile]
"Permissions and groups": [is_active, is_super_admin,
groups_list, permissions_list]
list:
actions: {}
batch_actions: {}
object_actions: { _edit: ~ }
edit:
actions: { _list: ~, _save: ~}
<?php
class sfGuardUserActions extends autoSfGuardUserActions
{
public function executeNew(sfWebRequest $request)
{
$this->forward404();
}
public function executeDelete(sfWebRequest $request)
{
$this->forward404();
}
}
>
> --
> 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
>
--
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