Hello,
i am making this tutorial: http://book.cakephp.org/view/645/Acts-As-a-Requester
(http://book.cakephp.org/view/93/ACL)

When im creating groups, there is nothing changing in the aro table
(its still empty)

AppController:
class AppController extends Controller {
    var $components = array('Acl', 'Auth');
   ....
}
My group controller looks like this: (its baked)
class GroupsController extends AppController {

        var $name = 'Groups';
        var $helpers = array('Html', 'Form');
        var $actsAs = array('Acl' => array('type' =>'requester'));


        function beforeFilter()
                        {
                        parent::beforeFilter();
                        $this->Auth->allowedActions = array('*');
                        }

        function parentNode() {
                return null;
        }
       function index()....

        function add() {
                if (!empty($this->data)) {
                        $this->Group->create();
                        if ($this->Group->save($this->data)) {
                                $this->Session->setFlash(__('The Group has been 
saved', true));
                                $this->redirect(array('action'=>'index'));
                        } else {
                                $this->Session->setFlash(__('The Group could 
not be saved. Please,
try again.', true));
                        }
                }
        }

What do i wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to