Home  >  Article  >  Backend Development  >  cakephp2.0中ACL的有关问题

cakephp2.0中ACL的有关问题

WBOY
WBOYOriginal
2016-06-13 10:13:35683browse

求助cakephp2.0中ACL的问题
初学cakephp很多问题没摸透,看网上教程介绍acl时方法很详细,但是是基于1。2的,里面configuration的方法已经用不了了
http://bbs.chinaunix.net/thread-1611367-1-1.html

就是【把每个action都添加到acors表中来实现权限控制】那里 , Configure::listObjects,等东西都用不了,不可能换回1。2继续学吧,有没有同学稍微讲解一下ACL或者提供以下修改的方法呢

------解决方案--------------------
我一直认为各个框架的acl都是很蹩脚的。还不如自己定义用户,角色,权限。这样可以满足大部分需求

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn