Cakephp Acl错误 [英] Cakephp Acl error

查看:164
本文介绍了Cakephp Acl错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用alaxos acl插件来研究Acl代码\\ b $ b,并得到错误

I try to use alaxos acl plugin for study of Acl code
and I got error

Warning (512): AclNode::node() - Couldn't find Aro node identified by "Array
(
    [Aro0.model] => Group
    [Aro0.foreign_key] => admin
)
" [CORE\cake\libs\model\db_acl.php, line 191]
Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check.  Node         references:
Aro: Array
(
   [User] => Array
    (
        [id] => 76
        [username] => tttttt
        [group_id] => admin
        [active] => 1
        [activation_code] => 
        [widget_count] => 
        [lastvisit] => 
    )

)

Aco: Users/add [CORE\cake\libs\controller\components\acl.php, line 273]
Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\cakephp\cake\libs\debugger.php:673) [CORE\cake\libs\

此处显示我的Db图片

用户和群组模型

感谢回答

My Db picture here
User and Group Model
thank for answer

推荐答案

应该在数据库中设置基本的需求数据
对于acl组件来说很重要

You should to set basic require data in database it important for acl component to work right

这篇关于Cakephp Acl错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆