cake-php
[Arriba] [Todas las Listas]

Re: Asuntos upgrading componente de 1.x A 2.x

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: Asuntos upgrading componente de 1.x A 2.x
From: Rachman Chavik <rchavik@xxxxxxxxx>
Date: Mon, 24 Jun 2013 08:43:14 +0000 (UTC)
Delivery-date: Mon, 24 Jun 2013 04:43:43 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:x-injected-via-gmane:to:from:subject:date:lines :message-id:references:mime-version:x-complaints-to :x-gmane-nntp-posting-host:user-agent:x-original-sender :x-original-authentication-results: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=PXq/ZzKZeP18Pdf7CRclKEA1zyF/xoz/e4rZ4JSGNcA=; b=A2afXYaP8cWLlx+jCslub7yk2JQm7j8ZDwgvFmBrj1HA35ci2MM2BsTTNtnw+rmHC4 5dXlAOXm5uyF387FDnl8HGSqA1xHjgr3WZWkd775JI/GNtvJU/gSdXYYIKuD8hnLjsqG 5aNTJLcOjt6EVNmUI8Mk1INScXGLNvtp/IYiKAFIGvlJ0pFvvAyAzMbvVkkEX3QcPVeI E5U7qyubbQfUOvGOYy4mCK0EzYyJojZt3VHKb4pc3jJmZVpIOYw/xpe4ud3L7nss4wtL ghpKUcn48XeKAyxDhDaJBN+tRgpEvJYmpnuphujXBivRJZpQ/W8OVzc81q22em3adyqQ nnuA==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:x-injected-via-gmane:to:from:subject:date:lines :message-id:references:mime-version:x-complaints-to :x-gmane-nntp-posting-host:user-agent:x-original-sender :x-original-authentication-results: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=PXq/ZzKZeP18Pdf7CRclKEA1zyF/xoz/e4rZ4JSGNcA=; b=PHtLNoBCw7P/JZyTW37Cm9eBrgl62gwoIadbQ8s4NZsBeXH35YBFy8Dd2cbufS+/s1 lkiqqqz/Ls8og7zuPvUNuRF6qSIY60P48HzROVKJRPQmRwFpD/VWfYUPA60AKMTcio4Q b+91J+fqIrF/opuuP94CrGVPyru2cGVlRHPo5U1V5dg+PIsjcuGhVoJ/GM8h0VHX8Dse 6DkfHrQBAgpE9S4rhIWRu7NIebxvY+ygWbNym6WZZsFyo+YseB4V1a1VJ2mH0D8tPoGg Qx3Q2Y2XX2JoQZLFbGhJesOxI5ILpD3rYU4TMs3SzIt/PAqa4CQNz/Zuvr8+/GRl1UxH ZRKA==
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
References: <CAEkjH6b-5zYFWUvFYqcaGS-Zo6bFhD_yVw3AoKV2=1YneN3HAQ@mail.gmail.com> <CACGX8E4+1MZESE-XCbWvP-c4ZhVdq3FagXFxZ9kL8P+xLLMUTA@mail.gmail.com> <CAEkjH6bHuWxc+ottWKgW=wM6-ZgB-EVZU8J=Q_x=Vmk1x_aa6A@mail.gmail.com> <CAEkjH6Zc+juHG_HeA+UXwmxC=yDkAjNa9cWikgQSz1+J4igU_A@mail.gmail.com> <kq8l83$c8v$3@ger.gmane.org> <CAEkjH6Y7eZBDbpe4yt0=Rb2y3TRDjkFw5GXoDdmS=a8KiA2xJg@mail.gmail.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
User-agent: Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2)
En *Mon, 24 *Jun 2013 03:29:06 -0400, Michael *Gaiser escribió:

> no me consigue mal, tendré que hacer aquello también, pero el *unfortunate la parte es
> que si tienes el *aro añadió cuándo añades un grupo de usuario/nuevo *via
> *parentNode() no actualiza el *alias que quiero utilizar *withing mi
> control() función. Me gustaría para construir lo que quiero hacer arriba del
> existiendo *acl código de base pero que significa extender la clase y primordial
> las funciones necesarias.

Por qué  no actualizas el *alias en vuestro modelo/de Grupo|de Función de Usuario en cambio? O *via *behaviors?
*Eg: 

*https://*github.*com/*croogo/*croogo/*blob/Maestro/*Plugin/*Acl/Modelo/*Behavior/*UserAroBehavior.*php
*https://*github.*com/*croogo/*croogo/*blob/Maestro/*Plugin/*Acl/Modelo/*Behavior/*RoleAroBehavior.*php#*L56

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



On Mon, 24 Jun 2013 03:29:06 -0400, Michael Gaiser wrote:

> Don't get me wrong, I will have to do that too, but the unfortunate part is
> that if you have the aro added when you add a new user/group via
> parentNode() it doesn't update the alias which I want to use withing my
> check() function. I would like to build what I want to do on top of the
> existing acl base code but that means extending the class and overriding
> the necessary functions.

Why don't you update the alias in your User/Role|Group model instead? Or via behaviors?
Eg: 

https://github.com/croogo/croogo/blob/master/Plugin/Acl/Model/Behavior/UserAroBehavior.php
https://github.com/croogo/croogo/blob/master/Plugin/Acl/Model/Behavior/RoleAroBehavior.php#L56

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