Here's the ticket on this Issue: http://cakephp.lighthouseapp.com/projects/42648/tickets/2207-authcomponentsessionkey-property-cannot-be-changed
The only workaround is extending the authcomponent and doing your own thing. Sad but true. -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865.9250 thiagobelem.net [email protected] *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt* Assando Sites*, curso de CakePHP *»* assando-sites.com.br 2011/11/10 sixthpoint <[email protected]> > I have went through that entire tutorial. I think the issue is coming > from when I have changed the "user" model and controller to "account" > as the name. > > http://api20.cakephp.org/class/auth-component > $this->Auth->authenticate = array( > 'Form' => array( > 'userModel' => 'Users.User' > ) > ); > > The api shows how you can use a different model to authenticate users. > Does this not hold true for after you login? On cake 1.3 you could > define $this->Auth->userModel = "account" and it would change for the > entire component. > > On Nov 8, 5:08 pm, Jon Bennett <[email protected]> wrote: > > > Has anybody seen any good tutorials for group based permission under > > > ACL with cakephp 2.0? I have been trying to get my code to work, but I > > > appear to be doing something wrong. > > > > http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-cont... > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
