it seems to be the correct behavior: - if you're not logged in, it redirectts you to login page - if you're logged, it checks if you're allowed to access to controller: * if yes, ok * if not, it redirects you back and tell you "access denied" Why do you want to be redirected to login since you're already logged in? It's up to you to add this: if I don't have access to a controller, give the choice to be logged in with another account (like a Linux sudo or Vista UAC). IMHO it's not a very common need.
On 1 fév, 07:09, chad <[EMAIL PROTECTED]> wrote: > Braindead - I'm wondering the same thing. Right now, as you said, it > just redirects you to the current page. Perhaps an enhancement ticket > at trac? > > On Jan 29, 12:51 pm, Braindead <[EMAIL PROTECTED]> wrote: > > > That's what I already did. When I'm not logged in and want to enter an > > access controlled controller, I'm redirected to $loginAction. > > But how is it possible to be redirected to $loginAction, when I'm > > already logged in, but not allowed to access a controller? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---