[development] User not allowed to access node using node_access

Derek Wright drupal at dwwright.net
Tue Apr 8 21:23:32 UTC 2008


On Apr 8, 2008, at 2:18 PM, Steve Edwards wrote:
> The role the user belongs to does not have the 'access project' or  
> 'access project issues' permissions enabled.
> ...
> Can anyone explain why my user wouldn't be able to access the node?

from modules/project/project.inc

function project_project_access($op, $node) {
...
       if (!user_access('access projects')) {
          return FALSE;
       }
...
}


Cheers,
-Derek (dww)






More information about the development mailing list