Greetings!

I have encountered a weird error in my installation. It suddenly decided to block users from viewing their own content, rendering the whole site unusable.

node/131 creates access denied
node/131/edit views ok

I have triple checked the access permissions, and the users should be able to view them.

I have tried clearing the permissions cache (a hundred times), disabled all unnecessary modules, but still, drupal serves a access denied message on trying to view own nodes.

The nodes are viewed normally through the user/1 account.
Please respond if there are more information needed to identify the problem. This is driving me nuts!
I recently set up the user relationships, but even if I disable these modules and rebuild permissions, the error persists.

Thanks!

Comments

farald’s picture

Category: bug » support
attiks’s picture

Is the node published?

farald’s picture

Project: Drupal core » Node access user reference
Version: 6.9 » 6.x-1.4
Component: user system » Code

The node is published, and everything works fine until recently.

But, I suspect that it is the "node access user reference"-module that is fighting with some other modules. I tried disabling this module and after rebuilding the permissions, the problem went away (but also some functionality).

This might be because I installed both "node access user reference" and the "user relationships" module(s). Now I have uninstalled both and everything works fine.

danielb’s picture

I believe this is the same as http://drupal.org/node/342579

farald’s picture

Status: Active » Closed (duplicate)

Yes it is. There also seems to be a solution ahead, and that's just great!
Thanks for informing me of this.