Great module. However, I recently found that I was only able to make user relationships node access function work when I had the ACL module installed. I had installed that module for use with the Content Access module. I turned both off when I installed User Relationships for fear they would interfere. Without the ACL module, though, the User Relationships Node Access function would not work--I tried to make a node open to friends, then logged in as the friend and tried to see the post, result: 404 error. Maybe I missed something in the documentation?

CommentFileSizeAuthor
#2 Error.png98.28 KBhalver
#2 DevelNATable.png85.19 KBhalver
#2 URNACheckboxes.png206.23 KBhalver
#2 UserPermissions.png218.22 KBhalver
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alex.k’s picture

Category: bug » support

Strange... UR Node Access can only allow, not deny access to nodes. Typically the denying part would be done by Organic Groups, or another module. And 404 is not the error it would produce, if access were denied. Please post screenshots... also check with Devel Node Access which module is actually causing access to be denied.

halver’s picture

FileSize
218.22 KB
206.23 KB
85.19 KB
98.28 KB

Thanks for your fast reply. I'm now more confused than ever. ACL may be a red herring. Perhaps it had to do with the fact that switching ACL on and off required me to rebuild node access permissions?
Also, it was not a 404 error. So sorry. It was just access denied.
I suspect this whole thing is user error. I hope you can help.
In any case, Devel module has come up with some info that I hope may clarify.
There are two related issues.
1) the error pictured in the attached screenshot errror.png. This showed up when I signed in as a test user and tried to view content the test user himself had created.
2) Although test user was a friend of the site administrator, the test user was denied access to the post of the site administrator. I could not get devel module to show node access table when access was denied, for some reason. But I have included a picture of the Devel module table from the perspective of the site administrator as DevelNATable.png. The User Relationships Node Access checkboxes are shown in URNACheckboxes.png. The permissions are shown in UserPermissions.png. test user is a 'standard user'
Thanks for your help.

mrf’s picture

Status: Active » Fixed

Going to assume this question has been answered. If you were involved in this issue and need additional guidance feel free to set to active or re-open, if not the best way to get help is to open a new support request.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.