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: Sat, 22 Jun 2013 00:46:07 -0700 (PDT)
Delivery-date: Sat, 22 Jun 2013 03:46:17 -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=lF66fRhJPhXGErS536uEJGZFm2Zy4TZkRGt8IovvCmc=; b=YJ7qxBVCUNy/lNGdDL4zCVWccHW1WyUpwe6gSCW4a3FdktzrMW1fS/yCMPYzKyFtBF ycQandPL5yR0+6dMgUyTkIXTLdGd1K+qUxstRvu585dkDhfO2/N/II2yWyXkGDE/k3Yk 92hxkR6i54mvK2xvsYxt+okJX7KePwkq8++FsWsH46SUrW0P7lKVZxmWfVusK5O6u+5d thZTUz1WTCpDrpQI78Foat1qlSD7soheiQNAFVB2CnmJuy0UQkUS0iMjh45Rc0/RRqma JLBi0htwZJH86XODK67mU3vnUxNhLLpjsxMXvbwu0DhXsmwSvi+Z+HTvqREPUPBS4rG5 ijHw==
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=lF66fRhJPhXGErS536uEJGZFm2Zy4TZkRGt8IovvCmc=; b=Mnic8vRjS7Kw5miJGg/+/j9C0wseeY0EpLxtXUX4SV73BLEiDgNncupwSTL2/tZfXP 8IJCUT5UhA4R2H+stjfehSGel+bn7ZRTcZUmLtPMBtsklzCD4l+ZwDqtIAcfaKhMDx8J sXLe5S7hh2CVhN72DwtLGoErxHaDx2EwWdzoBvOyOstKLBcSK5ogOsRu8acRpUxjnLOF zJcvI1ZFFWQLCQ02ldqvYM3auALxb5Wo/K/uPmIN1fBk/4XfKTL6KlQu0HnyqciS4EsZ 64vRTGtMlqv23Y3Vcc80uc9MNEZJEkUy0AFLM4770OJcOrvDcZ+/WYvWw7VS3BvWPxh3 NQsw==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <a334c06e-50f4-44c6-894b-c381e9f5a1cb@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> <df1e5ccf-1416-4428-83d7-137ff6f04317@googlegroups.com> <a334c06e-50f4-44c6-894b-c381e9f5a1cb@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Tienes que también correo el código donde dejas esta acción.


Soy *Freitag, 21. *Juni 2013 20:41:22 *UTC+2 *schrieb Eric *Haskins:
>
> Sí es un elemento
>
> En viernes, junio 21, 2013 2:23:34 PM *UTC-4, *euromark escribió:
>>
>> 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.


You should also post the code where you allow this action.


Am Freitag, 21. Juni 2013 20:41:22 UTC+2 schrieb Eric Haskins:
>
> Yes it is an element
>
> On Friday, June 21, 2013 2:23:34 PM UTC-4, euromark wrote:
>>
>> 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>