May be, you should try like this: Modules, controllers and actions. All of them are resources. Controllers inherited from modules; Actions inherited from controllers.
So, there needn't to add action as a parameter into isAllowed method. Regards. Xing 2007/7/19, pat <[EMAIL PROTECTED]>:
Hi List, A few months ago I requested that the ACL unit allow some form of globbing. But, The impending release made that impossible. Is now a good time to consider resource globbing in the acl? What I have in mind is the following: //resource = *. controller.* $this->_acl->isAllowed($role, $resource); instead of this: !$this->_acl->isAllowed($role, $resource, $action); In short, I'd like the ACL to work at the module level and include globbing. Is this possible? cheers, pat
-- 广州市一方信息咨询有限公司 地址:广州市 江南大道中 穗花村 三巷12号204 邮编:510245 电话:020-39738561 020-39738571 传真:020-84476279 网站:www.i-fang.com [EMAIL PROTECTED]
