public function index()
    {
        $this->loadModel('User.Acos');
        $tree = $this->Acos
            ->find('threaded')
            ->order(['lft' => 'ASC'])
            ->all();

        $this->title(__d('user', 'Permissions'));
        $this->set(compact('tree'));
        $this->Breadcrumb
            ->push('/admin/user/manage')
            ->push(__d('user', 'Permissions'), ['plugin' => 'User', 'controller' => 'permissions', 'action' => 'index']);
    }
public function index()
    {
        $this->loadModel('User.Acos');
        $tree = $this->Acos
            ->find('threaded')
            ->order(['lft' => 'ASC'])
            ->all();

        $this->title(__d('user', 'Permissions'));
        $this->set(compact('tree'));
        $this->Breadcrumb
            ->push('/admin/user/manage')
            ->push(__d('user', 'Permissions'), ['plugin' => 'User', 'controller' => 'permissions', 'action' => 'index']);
    }
public function index ( ) { $ this -> loadModel ( 'User.Acos' ) ; $ tree = $ this -> Acos -> find ( 'threaded' ) -> order ( [ 'lft' => 'ASC' ] ) -> all ( ) ; $ this -> title ( __d ( 'user' , 'Permissions' ) ) ; $ this -> set ( compact ( 'tree' ) ) ; $ this -> Breadcrumb -> push ( '/admin/user/manage' ) -> push ( __d ( 'user' , 'Permissions' ) , [ 'plugin' => 'User' , 'controller' => 'permissions' , 'action' => 'index' ] ) ; }
Shows tree list of ACOS grouped by plugin.

@return void
Shows tree list of ACOS grouped by plugin .