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>';
>         }
>     }


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