zend framework - How is ACL implemented -
I am using Zend_Acl
, PHP and am wondering how to implement the shadow ACL Go.
All pages have become a resource and I ask always ALL that the user is authorized or not? I think I should use it if I want to use a controller plugin (can be setup to run on every request) to check that the user has permission or not?
Or do I just put the query code where I need it? like. Should I ask ACL at the top of the pages? Then in publicly available pages, I leave it? If the app gets bigger then can you have trouble?
Okay, if I just answer this question then let me close it
< P> What I did now was a controller plugin that sets its resource based on the privilege based on the controller name and action name, then under that developmentinquire ACL on that basis but whatever I have currently seen
Comments
Post a Comment