Hey,

Nope, not using uses. I tried to call $uses before the beforefilter
call...nothing. I then tried to use it in the beforefilter call and no
luck. It's should be before the beforefilter call as
$uses=array('users'); correct?

On May 16, 1:35 pm, the_woodsman <[EMAIL PROTECTED]> wrote:
> Just to confirm:You´ve told the AppController to use the correct
> tables, via the $uses array?
>
> On May 16, 1:46 pm, uolax <[EMAIL PROTECTED]> wrote:
>
>
>
> > In regards to the last question, my app_controller.php looks like:
>
> > function beforeFilter() {
> >       $mylogtest=$this->Session->read('boppcake');
> >                 $user_id = $mylogtest['User']['username'];
> >                 $page = $this->name.DS.$this->action;
> >         $access = $this->Acl->check($user_id,$page,'read');
> >         if (($access === false)) {
> >                         echo '<br><b>session has no access</b><br>';
> >         }else {
> >                 echo '<br><b>session has access</b><br>';
> >         }
> >     }- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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