<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://drupaldojo.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>node access</title>
 <link>http://drupaldojo.com/topic/node-access</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Lesson #08 - Node Access &amp; db_rewrite_sql</title>
 <link>http://drupaldojo.com/lesson/node-access-and-db-rewrite-sql</link>
 <description>&lt;p&gt;&lt;strong&gt;Update: Now with VictorKane&#039;s awesome Class Notes!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This lesson provides an introduction to Drupal&#039;s node access system. Initially, we&#039;ll create a basic module that uses hook_db_rewrite_sql() to implement a node access restriction system.&lt;/p&gt;
&lt;p&gt;Once the concepts are grasped we&#039;ll lift the hood on some other Drupal access control modules and see how these work using Drupal&#039;s built-in node_grant abilities.&lt;/p&gt;
&lt;p&gt;There were 75 participants in IRC and 50 people in the skypecast today.  &lt;/p&gt;
&lt;h2&gt;Basic Node Access Control&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Create a basic module that restricts access to anonymous users but allows access for authenticated users on certain nodes.&lt;/li&gt;
&lt;li&gt;Our personal access table and pre-populating it (for demonstration purposes).&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://api.drupal.org/api/head/function/hook_form_alter&quot;&gt;hook_form_alter()&lt;/a&gt; to add a checkbox to the node edit form.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://api.drupal.org/api/head/function/hook_nodeapi&quot;&gt;hook_nodeapi()&lt;/a&gt; to create a flag on the node and apply viewing access control.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://api.drupal.org/api/head/function/hook_db_rewrite_sql&quot;&gt;hook_db_rewrite_sql()&lt;/a&gt; to implement the &lt;strong&gt;list view&lt;/strong&gt; access control.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://drupaldojo.com/lesson/node-access-and-db-rewrite-sql&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://drupaldojo.com/topic/node-access">node access</category>
 <category domain="http://drupaldojo.com/topic/security">security</category>
 <category domain="http://drupaldojo.com/taxonomy/term/95">lesson</category>
 <category domain="http://drupaldojo.com/lesson/08">08</category>
 <pubDate>Sun, 25 Feb 2007 16:59:29 -0500</pubDate>
 <dc:creator>Senpai</dc:creator>
 <guid isPermaLink="false">42 at http://drupaldojo.com</guid>
</item>
<item>
 <title>An intro to jQuery magic</title>
 <link>http://drupaldojo.com/lesson/intro-to-jquery-magic</link>
 <description>&lt;p&gt;&lt;strong&gt;On April 8th, 2007, josh_k recast this lesson, and the updated content with screencast can be found at &lt;a href=&quot;/node/73&quot;&gt;jQuery Resurrected&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We&#039;ll convene in IRC&#039;s #drupal-dojo channel for text chat, use &lt;a href=&quot;http://skype.com/download&quot;&gt;Skype audio&lt;/a&gt;, and &lt;a href=&quot;http://webavant.com/vncviewer/&quot;&gt;Webavant&#039;s VNC Viewer&lt;/a&gt; for visual appeal and spend a couple hours addressing topics of concern to up-and-coming Drupalists.&lt;/p&gt;
&lt;p&gt;Possible topics: Node access, or simple jQuery magic. Josh is relatively new to both of these, but he&#039;s promised to show us enough tidbits to get the ball rolling and whet appetites.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://drupaldojo.com/lesson/intro-to-jquery-magic&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://drupaldojo.com/topic/jquery">jquery</category>
 <category domain="http://drupaldojo.com/topic/node-access">node access</category>
 <category domain="http://drupaldojo.com/taxonomy/term/95">lesson</category>
 <category domain="http://drupaldojo.com/lesson/07">07</category>
 <pubDate>Sun, 18 Feb 2007 04:25:34 -0500</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">31 at http://drupaldojo.com</guid>
</item>
</channel>
</rss>
