5.2.5.5 mapActions
このセクションには保留されている変更があります. More information about translations
If you are using Acl in CRUD mode, you may want to assign certain non-default actions to each part of CRUD.
$this->Auth->mapActions(
array(
'create' => array('someAction'),
'read' => array('someAction', 'someAction2'),
'update' => array('someAction'),
'delete' => array('someAction')
)
);
$this->Auth->mapActions(array('create' => array('someAction'),'read' => array('someAction', 'someAction2'),'update' => array('someAction'),'delete' => array('someAction')));


























