Ok, here is my scenario:

I have 2 new content types: files and company
I also have users that need to only have permissions to see certain companies and their associated files.

Files has a node reference to require a company that should be associated to that file. I have node access setup so that the users can only see the companies that they have permissions to see.

I thought I could use this module to limit which files that the user could see based on what permissions the user had for the companies through the node access grants. But I can't seem to get it to work. The user that only has access to a few of the companies can always see all of the files. When I list the companies in a View, I can only see the companies they have permissions to see. But when listing the files in a View or just by going to the file's node, this user doesn't seem to be prohibited from viewing any file.

So, am I using this moduel correctly and if not, can this module even do what I am thinking? Do you know of another module that might work? I have tried the Node Access Node Reference module and it screws up my regular node access permissions and I can't see that it is working the way I would want either. Any help would be greatly appreciated. Thanks.

Comments

kenorb’s picture

I think module is right for you.
However this module will work with other access module which should restrict the access first and then give the right access.
Please install i.e.: http://drupal.org/project/view_own to make this restriction.

kenorb’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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