cake-php
[Arriba] [Todas las Listas]

Re: requestAction Y Auth asuntos

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: requestAction Y Auth asuntos
From: euromark <dereuromark@xxxxxxxxx>
Date: Fri, 21 Jun 2013 11:23:34 -0700 (PDT)
Delivery-date: Fri, 21 Jun 2013 14:23:45 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=nNgSJur/GYwh20ethMEouEAJRN2qNt1NCSLHYDJH/T4=; b=xey0WqLc7ng0NMAgfPxUcKZNe3nVq276gRkVdkFQWTNxHk/0TAgVwlbuWHqHyjUmuo vcWo9yzR6GGMZ+zktWdSBOs6fzZt3/er9WVbQ4vX8LRNBhm1ik+fUVKAhi0j8GQYkybV Hpv43DC9YgUjeoxnOsIeGeOkSak7ALsY0ITwQ8cTdzb+f7xj9gBxJ5VICXaEtJ3wXi73 ByS2EJpw7A7eOcudinlNadLce+LBsVReNm+RR+dIzb/EvcDtZnV3j7s770AtUTppnGCf 28SsU2bdSKzob3HeHyY6Mlpc1gqFsAu700SZYWTiHI0Aiv+W8Mh/sYfHViOmmgV31FM4 NaVQ==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=nNgSJur/GYwh20ethMEouEAJRN2qNt1NCSLHYDJH/T4=; b=ejZ3FASJXGqmZOF9TQLDGd7qg+Lr+ljVC7wngVHY2yTUlsPSyNixz+xGhaAh2oFWYD luBWnqBwwt5HljeVJJr9ZP5Bf+p+kyv3pnrbqrduneqvAVyE253ftQci1zhDsjGp73nb c8l8ff5bBkyUNOosHUrqMkBf6a6Sn4WQxRTXy968cUejSsPKc5+cKzPJOAD1kZLFadid iFUHilWWjxWpvPCsAMGUVxZaoBIvVJbM0nL9SEjC5hY4rRY2C8DYoU3ps33tXcNakuWY fFyT0v3ai30Iduv9kY5kIQNFKExBhOfqqdIhmd183k68gdirMk/Jhbw9HSLRvs9afdRV 77zQ==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <c5455bda-2527-4324-9606-32b13a0656d3@googlegroups.com>
List-archive: <http://groups.google.com/group/cake-php>
List-help: <http://groups.google.com/support/>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <c5455bda-2527-4324-9606-32b13a0656d3@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Dónde  corres esta declaración?
En la vista *ctp?


Soy *Freitag, 21. *Juni 2013 18:31:07 *UTC+2 *schrieb Eric *Haskins:
>
> *Hey Todo,
>
>       estoy corriendo *cakePhp más tardío y justo corrí a un asunto con *requestAction 
> y mi *auth.   Parece gusta incluso aunque dejo acción de índice 
> en mi *NewsController 
>
> $noticiamás tardía = $esto -> *requestAction(variedad('controlador' => 
> 'noticias','acción' => 
> 'índice'),variedad(variedad>'('límite'=>10,'clase'=>'*desc')));   
>
> resultará en "un Vuestro No Autorizado para Ver Esto" redirige a *login........ 
> *Im *stumped Tener que muevo mi *auth a una ubicación diferente que 
> *beforeFilter en *appcontroller?
>
>
> Eric
>

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


where do you run this statement?
in the view ctp?


Am Freitag, 21. Juni 2013 18:31:07 UTC+2 schrieb Eric Haskins:
>
> Hey All,
>
>       I am running cakePhp latest and I just ran into an issue with 
> requestAction and my auth.   It seems like even though I allow index action 
> in my NewsController 
>
> $latest_news = $this -> requestAction(array('controller' => 
> 'news','action' => 
> 'index'),array('named'=>array('limit'=>10,'sort'=>'desc')));   
>
> will result in a "Your Not Authorized To View This" redirect to 
> login........ Im stumped should I move my auth to a different location than 
> beforeFilter in appcontroller?
>
>
> Eric
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>