Re: ACL creation on registration

2009-03-10 Thread Fred
Ok I figured this outIt wasn't what I thought at all and is a stupid error, but by sharing maybe I can prevent this from happening to someone else. What happened is I had the model registered in my User Controller like so: App::import('Model','Realm'); $Realm = new Realm; This didn't work.

ACL creation on registration

2009-03-09 Thread Fred
I am having trouble getting ACL to function properly. Everything works as long as you are logged in. However, now I want to dynamically create a user when they register (i.e. they aren't logged in). So I create the user (that works) and then create a realm (a realm is requester for ACL and