How can I use CodeIgniter ACL library?

前端 未结 2 962
后悔当初
后悔当初 2021-02-06 11:30

How can I implement an ACL library? What is the best way for using ACL for user roles? In standard PHP, I\'d write code like this:

if (userTypeId == \'Admin\') {         


        
2条回答
  •  逝去的感伤
    2021-02-06 12:07

    You can find lot of links for tutorial while searching in google.

    1. http://www.tastybytes.net/blog/simple-acl-class-for-codeigniter
    2. https://code.google.com/p/ar-acl/
    3. https://github.com/brandesign/CodeIgniter-ACL // contains implementation

    In SO also, how to use this simple acl library into codeigniter

提交回复
热议问题