@LunarDraco, Thank You, Thank You, Thank You, Thank You, Thank You,
Thank You!

I suspected that I was not setting the variable correctly and
        $activeUser = $this->Auth->user()

in the beforeFilter function of app_controller.php was exactly the fix
I needed. I got the the other version from a forum somewhere and
obviously either took it out of context or the author was generalizing
his response (maybe to a different question?). Once I was able to see
the activeUser values change when logging on as different users I
could also correct the branch control command in start.ctp to
        switch ($activeUser['User']['group_id']):

Redirecting to the home page when a user logs out was already working
(and thankfully still is), I had set
        $this->Auth->autoRedirect = false;

in the beforeFilter function of app_controller.php and handled the
redirects manually with
        $this->redirect( array('controller' => 'pages', 'action' =>
'start') );

in the login function and
        $this->redirect( array('controller' => 'pages', 'action' =>
'home') );

in the logout function of the users_controller.php.

Thanx again, McS.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to