【发布时间】:2014-02-02 17:20:22
【问题描述】:
我有管理员前缀,我们有一个基于 CMS 的部分,网站所有者可以在其中维护应用内容。
有没有办法通过 Auth 组件自动限制这些部分。而其他部分不需要认证。
// other wise i will have to add a lot of actions like below
$this->Auth->allow('home', 'about', 'contacts);
【问题讨论】:
标签: cakephp authentication cakephp-2.4