【发布时间】:2012-06-24 06:28:09
【问题描述】:
我在 CakePHP 中进行了身份验证设置,以使用此功能将所有用户重定向到仪表板:
function dashboard() {
$group_name = $this->User->Group->field('name', array('id' => $this->Auth->User('group_id')));
$action = $group_name . '/dashboard/';
$this->redirect = array('controller' => 'users', 'action' => $action);
}
我的问题是在此仪表板中管理特定于组和特定于用户的内容的最佳做法(或我可以查看的资源)是什么
【问题讨论】:
标签: php cakephp authentication