[development] User not allowed to access node using node_access
Steve Edwards
killshot91 at comcast.net
Tue Apr 8 21:31:09 UTC 2008
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?
Thanks.
Steve
Derek Wright wrote:
>
> 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)
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080408/c9734c9b/attachment.htm
More information about the development
mailing list