No, the wildcard was added after I started trying to figure out why
Auth was not allowing me to use *any* action. I only added it to try
to debug this.

I'm a big dope, though, and the last part of my msg can be ignored.
The reason why I was seeing several actions along with the wildcard
(when both controllers had the wildcard set) is because I'd refreshed
the *login* view without thinking. So
ArtistsController->Auth->allowedActions was irrelevant.

I still can't figure out what's going on, though. I can't hit any of
the actions on this controller all of a sudden.

As an aside, though I don't wish to use the wildcard, I seem to have
uncovered aproblem where both AppController and another have the
wildcard set. Auth::allowedActions should be unique.

On Tue, May 13, 2008 at 10:46 PM, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>  On Tue, May 13, 2008 at 10:36 PM, b logica <[EMAIL PROTECTED]> wrote:
>
>  >
>  >  function beforeFilter()
>  >  {
>  >         parent::beforeFilter();
>  >         //$this->Auth->allow('admin_index', 'index', 'view', 'search',
>  >  'alpha', 'getAlphaList');
>  >         $this->Auth->allow('*');
>  >  }
>
>  If you are allowing every single action, why are you using Auth?  Or
>  am I misunderstanding something? $this->Auth->allow(...) tells the
>  controller what actions Auth should not bother checking authentication
>  for.
>
>  What controller/action pair is failing?  Is it just that one
>  controller/action pair or is authentication failing everywhere?
>
>  --
>  Chris Hartjes
>  Internet Loudmouth
>  Motto for 2008: "Moving from herding elephants to handling snakes..."
>  @TheKeyBoard: http://www.littlehart.net/atthekeyboard
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
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