<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">So there's no way to override that
setting using node_access? According to the handy dandy diagram on
page 104 of 'Pro Drupal Development' it looks like node_access is the
last thing checked when granting access to a node. Is that incorrect,
or am I misunderstanding how that process works?<br>
<br>
Thanks.<br>
<br>
Steve<br>
</font></font><br>
Derek Wright wrote:
<blockquote cite="mid:FE685608-79E5-4A60-B717-58DC77BC8850@dwwright.net"
type="cite"><br>
On Apr 8, 2008, at 2:18 PM, Steve Edwards wrote:
<br>
<blockquote type="cite">The role the user belongs to does not have
the 'access project' or 'access project issues' permissions enabled.
<br>
...
<br>
Can anyone explain why my user wouldn't be able to access the node?
<br>
</blockquote>
<br>
from modules/project/project.inc
<br>
<br>
function project_project_access($op, $node) {
<br>
...
<br>
if (!user_access('access projects')) {
<br>
return FALSE;
<br>
}
<br>
...
<br>
}
<br>
<br>
<br>
Cheers,
<br>
-Derek (dww)
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
</body>
</html>