Home  >  Article  >  Backend Development  >  zend_acl应用

zend_acl应用

WBOY
WBOYOriginal
2016-06-13 12:58:24889browse

zend_acl使用
大概看了下这个zend_acl的原理,好像很麻烦的样子。
在用户表中设置一个权限字段,字段为枚举类型,包括各种用户身份
然后写一个类,在需要进行权限控制的页面中使用这个类来判断登陆的用户的身份不就可以了吗?
看了下zend_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