testing an IP address which can be determined by a global variable, but if I
need to test if the user owns the blog post, surely I must pass in the user
id and the id of the blog post? Is there some way to pass parameters to the
assertions? I was thinking something like this would be convenient:
$acl->isAllowed('role', 'resource', 'privilege', $params);
Or am I supposed to extend Zend_Acl_Resource so that I can set the id here?
--
View this message in context: http://n4.nabble.com/ACL-but-completely-different-tp1299970p1573971.html
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论