Monday, March 11, 2013

Re: Auth Component; Strange behavior

Pablito was correct, there was a conflict in my code. I had a custom helper to handle ckeditor and it was causing the conflict.

On Monday, March 11, 2013 7:56:19 PM UTC-4, cricket wrote:
Define "Auth Component does not work". If Auth is allowing access then
what else do you need? Could this be a routing issue? Are you using
admin prefixes?

(It's been a long day so I may well be missing something obvious here.)

On Mon, Mar 11, 2013 at 5:15 AM, Ed Propsner <crotc...@gmail.com> wrote:
> Using Cake 2.2.5
>
> My app is exhibiting a strange behavior in one of my controller/views. I
> have $this->Auth->allowedActions = array('view', 'index'); defined in the
> beforeFilter of one of my controllers. When an authenticated user navigates
> to the index view, Auth Component does not work on that page. Removing
> 'index' from allowedActions gets Auth Component working but then does not
> allow public access to that view. This is the only controller/view
> exhibiting this behavior, all others work fine.
>
> Any idea what could be going on here?
>
> - ED
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+u...@googlegroups.com.
> To post to this group, send email to cake...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate