php - Building a generic OO ACL using Doctrine -


I am looking to design a principle-supported ACL system for my use, although I struggled with something I'm considering the initial design idea.

Now I am looking at creating it on the basis of classrooms and unique identifiers, such as storing them in the table:

  Table: Role of ACL Resources Call Resource Role Class The permission is obviously demanding that I am self-reliant on the sections being asked to get the right resource list values. 

I am thinking that this approach has given some advice before or before, if there is a better way to do it; Other things like recursive relationships between roles also complicate me because I am not sure How to construct a resource and continuously query for ACL

I am not a big fan of Zend ACL, so please do not suggest any more for this - I know about it!

People will be given further explanation on this question as the weight, so please stand with me! This question may need some iterations! ;)

I use nestedets to store ACL hierarchy and cache to speed things up I do

This is a post that can also be useful:

(Also take a look at the two previous parts ).


Comments