Hi everybody,
I have auth and acl in place, but have the strange situation that after
logging in I can view my index of groups and users (admin and normal
routing) and can also edit users, but when I try to access any other
controller I get kicked back to the login form. So also the
$this->Auth->loginRedirect = array('controller' =>
'hotels', 'action' => 'index');
I have set is not accepted. Any idea what went wrong?
My user is in the admin group which has CRUD set to 1 values for all
controllers. So I should be allowed to see everything and Auth doesn't
show an error in it's flash message.
I followed the
http://book.cakephp.org/view/641/Simple-Acl-controlled-Application
tutorial and adapted it to my application, which is a lot more complex.
I also added in the app_controller.php a lot of mapActions like:
$this->Auth->mapActions(array('update'=>
array('edit','editKatalogplanung','editOrtplanung','editverknuepfung','e
ditZielgebietplanung')));
Thanks a lot in advance for any hints, this is bugging my now for days
;-)
Anja
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---