2010年2月4日星期四

Re: [fw-auth] Re: ACL... but completely different

I'm not following exactly what you're trying to do. If you're trying to get a list of all the "owner"'s articles, ACL is not going to help you. The purpose of a the ACL is to determine if a role has access to a particular resource. Here you don't have any resources (unless you want to somehow hack a way in that a SQL statement is a resource.


On Thu, Feb 4, 2010 at 1:38 PM, Laura Dean <ldean@saleamp.com> wrote:

I agree, but that is why I was thinking of extending Zend_Acl.  Right now, I
can only test for isAllowed() but I would like to be able to do a check
like:

if ($acl->getPermission() == 'Owner') {
 // modify the select statement here
}


--
View this message in context: http://n4.nabble.com/ACL-but-completely-different-tp1299970p1469233.html
Sent from the Zend Auth mailing list archive at Nabble.com.


没有评论: