Role Based Access Control

前端 未结 11 1164
梦谈多话
梦谈多话 2020-12-01 03:59

Are there any open source, PHP based, role based access control system that can be used for CodeIgniter?

11条回答
  •  执念已碎
    2020-12-01 04:37

    Brandon Savage gave a presentation on his PHP package "ApplicationACL" that may or may not accomplish role-based access. PHPGACL might work as well, but I can't tell you for sure.

    What I can tell you, however, is the Zend_ACL component of the Zend Framework will do role-based setups (however you'll have to subclass to check multiple roles at once). Granted the pain of this is you'll have to pull out Zend_ACL, I do not believe it has any external dependencies, from the monolithic download (or SVN checkout).

    The nice thing about Zend_ACL is though its storage agnostic. You can either rebuild it every time or it's designed to be serialized (I use a combination of both, serialize for the cache and rebuild from the DB).

提交回复
热议问题