Zend_Acl, with roles and permissions stored in database

前端 未结 1 1876
说谎
说谎 2021-02-10 00:40

i want to build an ACL system for my application which have the following requirement.

  1. Users will be assigned single or multiple role. (Admin, Staff) etc.
相关标签:
1条回答
  • 2021-02-10 00:56

    Well I think this structure is really good , to get this working you had to do 2 steps

    1-Setup all the databases and requirements

    2- create an ACL plugin that determine the user's role and his permissions

    some example with doctrine support :

    Developing a Doctrine-backed ACL helper TDD-style, part 1

    Developing a Doctrine-backed ACL helper TDD-style, part 2

    another simple ACL :

    Dynamic custom ACL in zend framework?

    0 讨论(0)
提交回复
热议问题