cake-php
[Arriba] [Todas las Listas]

requestAction Y Auth asuntos

To: cake-php@xxxxxxxxxxxxxxxx
Subject: requestAction Y Auth asuntos
From: Eric Haskins <ehask71@xxxxxxxxx>
Date: Fri, 21 Jun 2013 09:31:07 -0700 (PDT)
Delivery-date: Fri, 21 Jun 2013 12:31:21 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:date:from:to:message-id: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=nj9SQzJCcCBF4ezEv40YDM3PebVL0Q2w4CGEH+mH5Hw=; b=JvWsBqWZUKXIqHCZsX6D3a4w1yDYz09YMF/wWGMkLG3BKCFHhQv/CHSlC5/q3AJ0++ Swig8u2sGyBjIaTAX0jdeSJzbHOt+9KrWjB3FhXSidfYsCvAcklnLpl8lFTcDCUtj04I mOIikN0FqwWEdHZljvt1z42+0tuWXqmaKqXgEwKrw4oN1ymTnMrhUIay5X/0HgTd6Wy9 RrOLTak3OvZf894lK48SUBEa7EMOsOOshBmlKgg8Tpx/0DOB+D9QX3eUJ2Fnkq9jlT5x vguze+0mTLEWUA45unK1VzafGk7okHf8NyACBXnWOC0A1YpZcIyPsBF61/Uwbq1yJQt1 oPig==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:date:from:to:message-id: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=nj9SQzJCcCBF4ezEv40YDM3PebVL0Q2w4CGEH+mH5Hw=; b=BnXt9or1ux2aD6KBchAoc0mJfSh1lSt9JC4afQVi85ds/F9UKRgM96UxpogwQIBbb4 tYZlJsLXbtQBhKMhIEW3USs167I8BGf9yaSl4Aw+6Eh9bjWbTfwzQtCosYeHszdVFJq8 ExRs087S8TDiKyLoVw7vGdPniiFlKOgRqOTd7oMVaYi4qBVekiAI1hOKJPjvZhJIJ/um 6QpalfXUNRvF+eivTjvIEYTMa97SCZPILSqyVreiePjDaU1DsNvnwrTkuvzGqvx+pvHk Q0DaRyteA3yGfj5A5IkzG/54zD6LpAu2L8Fj2G23sP8SENHdliryccmPiYyzTWqPLOi2 U+pA==
Envelope-to: traductor@xxxxxxxxxxx
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
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
*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.


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>