<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 19:23:23 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ralph Schindler's Blog: Dynamic Assertions for Zend_Acl in ZF]]></title>
      <guid>http://www.phpdeveloper.org/news/13054</guid>
      <link>http://www.phpdeveloper.org/news/13054</link>
      <description><![CDATA[<p>
<i>Ralph Schindler</i> has <a href="http://ralphschindler.com/2009/08/13/dynamic-assertions-for-zend_acl-in-zf">a new post to his blog</a> today looking at using dynamic assertions with the access control component (Zend_Acl) of the Zend Framework.
</p>
<blockquote>
Over the last two years, I've seen a variety of duplicate issues come into the issue tracker, which stem from two fundamental flaws in Zend_Acl [...] In this article, we'll explore the API changes that alleviate these two problems, and we'll demonstrate how to leverage the Zend_Acl assertion system to create expressive, dynamic assertions that work with your applications models.
</blockquote>
<p>
He mentions some of the backwards compatible changes that have been made to the ACL API including changes in the add() method and the ability to create Zend_Acl_Role and Zend_Acl_Resource objects explicitly. The rest of the post gives a great example of setting up users in a role, creating an action to test them against (can they work with a blog post?) and running a series of checks against the ACL component as a guest, contributor and publisher.
</p>]]></description>
      <pubDate>Mon, 17 Aug 2009 12:37:17 -0500</pubDate>
    </item>
  </channel>
</rss>
