On Thu, Feb 4, 2010 at 1:26 PM, Laura Dean <ldean@saleamp.com> wrote:
When I am testing a specific article_id, then I can see that an assertion
could work well because I can pass in the article_id and check for access.
But will the custom assertions work for creating the index with only the
articles the user can view? I am using Zend_Paginator for paging the index,
like such:
$this->paginator = new Zend_Paginator(new
Zend_Paginator_Adapter_DbSelect($select));
So what I was thinking about before was checking the Acl to see if it was
"owner only" and if yes then modifying my $select appropriately... is there
a way to tell if there is a custom assertion assigned to the resource?
--
View this message in context: http://n4.nabble.com/ACL-but-completely-different-tp1299970p1469219.html
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论