<?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>Fri, 24 May 2013 21:21:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[WebReference.com: Administering RBAC in PHP 5 CMS Framework ]]></title>
      <guid>http://www.phpdeveloper.org/news/11435</guid>
      <link>http://www.phpdeveloper.org/news/11435</link>
      <description><![CDATA[<p>
WebReference.com <a href="http://www.webreference.com/programming/php_5_cms_framework_development2/">continues their series</a> looking at user administration in content management systems. This time they look at the importance of user roles and some code to add to help manage them.
</p>
<blockquote>
Although the operations are simple, it is vital that they be handled correctly. It is generally a poor principle to allow access to the mechanisms of a system rather than providing an interface through class methods. The latter approach ideally allows the creation of a robust interface that changes relatively infrequently, while details of implementation can be modified without affecting the rest of the system.
</blockquote>
<p>
Their code includes methods to get all roles for a user, check to see which they are permitted to use, add a "permit" role and remove it back out. The tutorial is an excerpt from the Packt book <a href="http://books.internet.com/books/1847193579/">PHP5 CMS Framework Development</a> (<i>Martin Brampton</i>).
</p>]]></description>
      <pubDate>Thu, 20 Nov 2008 10:28:15 -0600</pubDate>
    </item>
  </channel>
</rss>
