<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dev.enekoalonso.com &#187; permissions</title>
	<atom:link href="http://dev.enekoalonso.com/tag/permissions/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.enekoalonso.com</link>
	<description>having fun with code</description>
	<lastBuildDate>Wed, 12 Oct 2011 21:40:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Drupal: users can&#8217;t access content! (node_access gone wild)</title>
		<link>http://dev.enekoalonso.com/2009/08/08/drupal-users-cant-access-content-node_access-gone-wild/</link>
		<comments>http://dev.enekoalonso.com/2009/08/08/drupal-users-cant-access-content-node_access-gone-wild/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 21:46:23 +0000</pubDate>
		<dc:creator>Eneko Alonso</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=363</guid>
		<description><![CDATA[If you are having trouble with users accessing content, check out the node_access table and make sure all permissions are set properly. Unless you are using modules like Organic Groups which set the node access permissions by user, you will only need one row on that table, with user id 0: Restore permissions: TRUNCATE TABLE [...]]]></description>
			<content:encoded><![CDATA[<p>If you are having trouble with users accessing content, check out the node_access table and make sure all permissions are set properly. Unless you are using modules like Organic Groups which set the node access permissions by user, you will only need one row on that table, with user id 0:</p>
<p>Restore permissions:</p>
<div class="geshi no sql">
<ol>
<li class="li1">
<div class="de1"><span class="kw1">TRUNCATE</span> <span class="kw1">TABLE</span> node_access;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">INSERT</span> <span class="kw1">INTO</span> node_access <span class="kw1">VALUES</span> <span class="br0">&#40;</span><span class="nu0">0</span>, <span class="nu0">0</span>, <span class="st0">&#39;all&#39;</span>, <span class="nu0">1</span>, <span class="nu0">0</span>, <span class="nu0">0</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<h3  class="related_post_title">Related Posts:</h3><ul class="related_post"><li>October 12, 2011 -- <a href="http://dev.enekoalonso.com/2011/10/12/command-line-scripting-with-node-js/" title="Command line scripting with Node.js">Command line scripting with Node.js</a> (0)</li><li>October 1, 2010 -- <a href="http://dev.enekoalonso.com/2010/10/01/having-fun-with-node-js-redis/" title="Having fun with node.js &#038; Redis">Having fun with node.js &#038; Redis</a> (1)</li><li>February 18, 2010 -- <a href="http://dev.enekoalonso.com/2010/02/18/google-fiber-in-san-luis-obispo-that-would-be-awesome/" title="Google Fiber in San Luis Obispo? That would be awesome!">Google Fiber in San Luis Obispo? That would be awesome!</a> (0)</li><li>February 6, 2010 -- <a href="http://dev.enekoalonso.com/2010/02/06/got-nfs-working/" title="Got NFS working">Got NFS working</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://dev.enekoalonso.com/2009/08/08/drupal-users-cant-access-content-node_access-gone-wild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

