Monday, June 24, 2013

Re: Issues upgrading component from 1.x to 2.x

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. 


On Mon, Jun 24, 2013 at 1:25 AM, Rachman Chavik <rchavik@gmail.com> wrote:
On Sun, 23 Jun 2013 01:43:28 -0400, Michael Gaiser wrote:

> Or even, just a solid example that extends the existing AclComponent so
> that I can actually override some of the functions in it? Thanks again!

2.x has loads of Auth enhancements.  You probably don't want to extend
AclComponent. Instead, see if you can create custom Authorize or
Authenticate objects.  Check the book.

Ceeram has some solid classes too:
 - https://github.com/ceeram/authenticate
 - https://github.com/ceeram/Authorize

--
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@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.



--
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@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: