cake-php
[Arriba] [Todas las Listas]

ACL - cuestión de Grupo?

To: "cake-php@xxxxxxxxxxxxxxxx" <cake-php@xxxxxxxxxxxxxxxx>
Subject: ACL - cuestión de Grupo?
From: Michael Gaiser <mjgaiser@xxxxxxxxx>
Date: Tue, 18 Jun 2013 16:04:49 -0400
Delivery-date: Tue, 18 Jun 2013 16:05:05 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:date:message-id:subject:from:to :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=pT2gopZgEMNInJlWEf2UVK3MNv5w+FFaU5xHB8fl1rQ=; b=hXYODEW/erNUSZZ0D3EXcGUkaCR0z1FtTNL+G+kJNbTKBiANuRclVfQrj0fREtwcNE +Ukxi21A0ZNx4eti1wODrL9h6p4VnsCOYUFH673PJEnSfeAk7/WLpE0tw5PnAugknd7Y igIhp2m1H8esHXFGDoHu1on/JhLuY1Uk+AL6SCEC/LGVowNaJ3o5t4mQnemOxu0oJZ1d AWs0b1lI+73uKTETdx9+AlSMkCB5Y+LnRkBsNtYYMYCkw7Io5OyAm6iOOkJxMer5rrB6 owLs7r4/VrbNQVrMDEXUZs311j8ocy9VA3BFM2RBswAqwkdybfjJP61dLiWpI5T+AQy7 cTtQ==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:mime-version:date:message-id:subject:from:to :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=pT2gopZgEMNInJlWEf2UVK3MNv5w+FFaU5xHB8fl1rQ=; b=Qh2t2QUt5FhtEvDpl2vO5nv5sza8MawiMgE8PzkDSCve8Kp99F6kBWeWuFYv8ioI0/ qjq8ecv4IFNJ39W1ik5eVOuLg4mtRPfnOdwkip/T/RmfzfjSZWt19mDbRYYu2m5ub2SK FqfgGr0ClwKZ5lZ63zrsibLBiWMztEFCt/DAR7Dcl74YpHqYKD2+QdYSTJEsuwEBBskw qag7jLZf4zlIgkkZHdIMUAgnAo3OEYa43OxiPLtfk8U5gZYPR84nqqoQOTKV1J9WAzDR svX+Jq+H8hmaA/9timOHahMm+g27RpIFkDp0f97Z3PPLuBsa2EJVZBPPF2UHKvNPOm6I 2PAA==
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
Tan, estoy probando a *setup un sistema en *Cakephp 2.*x donde Un usuario puede ser un
miembro de beneficio y grupos múltiples el acceso basado en el qué todos aquellos
grupos proporcionarían. Tan aquí es mi cuestión. Correcto ahora, el ACL *behavior
junto con un *parentNode() función en mi modelo de grupo automáticamente crea
una entrada de ARO cuándo un grupo nuevo es creado. Esto parece a información
duplicada como el ARO y el grupo parecen a básicamente ser la misma cosa,
pero en dos mesas diferentes.  yo ser mejor de justo ignorando el modelo
de grupo y crear un modelo de ARO para manejar la manipulación de los permisos?

En otra nota, es allí en todo caso para hacer el ACL *Behavior también salvar el
*alias del registro? *Thanks

Michael

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


So, I am trying to setup a system in Cakephp 2.x where a user can be a
member of multiple groups and gain access based on the what all those
groups would provide. So here is my question. Right now, the ACL behavior
along with a parentNode() function in my group model automatically creates
an ARO entry when a new group is created. This seems to duplicate
information as the ARO and the group seem to basically be the same thing,
but in two different tables. Would I be better off just ignoring the group
model and create a ARO model to handle the manipulation of the permissions?

On another note, is there anyway to make the ACL Behavior also save the
alias of the record? Thanks

~Michael

-- 
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>
  • ACL - cuestión de Grupo?, Michael Gaiser <=