2011年1月21日星期五

[fw-mvc] Re: ACL stuck in a loop

Hi,
try a thing like this

if ($this->getAcl()->has($actionLevel) && !$this->getAcl()->isAllowed($role,
$actionLevel)) {
if (!$auth->hasIdentity()) {
$this->loginAccess();
} else {
$this->denyAccess();
}
}

bye.
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/ACL-stuck-in-a-loop-tp3230017p3230505.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: