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.

Wouldn't be a problem if you wrapped your SQL statements in some class
that extends Zend_Acl_Resource Zend_Acl_Resource_Interface.


Best regards,

Andreas

没有评论: