Hi!
in that module you have a folder  (if you don't have create) called config,
in which you may create a file called security.yml where you can set

list:
  is_secure: on
  credentials: [ "foo" ] # never used this, but is in the manual... so go
read that ;)
edit:
  is_secure: on


For the second (your First ) thing,
in the config/config.yml file, try adding a "  peer_method:  doSelectJoinAll
" in the section designated for your module. (for propel works ... i do not
know about doctrine)
If you are passing data to the module, i might ask what is the datatype ? is
an array? is it come from a sfRequest? is a simple array ? is a DB resource
(like Criteria ? )


Alecs



On Tue, May 12, 2009 at 6:31 PM, FlyLM [ML] <[email protected]> wrote:

>
> Hi,
>
> I've just try the "admin generator" and I don't find the way to do
> what I really want.
>
> - First, I would like to use a custom "method" to list my objects. I
> know I can use "table_method" directly in the configuration file, but
> I need to pass data to this function (data depends on authenticated
> user).
> - Second, I would like to restrict actions of this module ? Do I
> declare manually all possible routes to set the restriction ? I just
> want "list" and "edit".
>
> Thank for ur helps
>
> Sincerely,
> Fabien
>
> >
>


-- 
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0748.543.798

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to