Thanks, that is the path I just started stumbling down.
Since I am being restrictive to one Model though it looks more like
this;
$this->ArosAco->find('all',
array(
'recursive'=>1,
'conditions'=>array('Aco.alias'=>'ModelName','Aro.foreign_key'=>
$this->som
What i did...
$this->ArosAco->find('all',
array('fields' => array('Aco.alias','Aco.lft',
'Aco.rght'),
'order' => 'lft ASC',
'recursive' => 1,
'conditions' => array(
'Aro.id' => $this->Session->read
('A
What i did..
1) get logged in user id - $this->Session->read('Auth.user.id')
2) find all related field on acos with aros_acos model.
$this->ArosAco->find('all',
array('fields' => array('Aco.alias','Aco.lft',
'Aco.rght'),
'order' => 'lft ASC',
'rec
I understand using ACL to grant, revoke, check, etc on a specific ACO.
My curiosity is how to list all IDs of a particular model I have
access to.
So it there is a user named Fee (ARO). And I grant Fee access to read
the following items (ACOs) Ship, Paper, Milly.
Is there a simple means in the