This project is not covered by Drupal’s security advisory policy.

Node Access Auto Reference - How it works?

Gives automatic access to users if they are referenced somehow to this node.
It's scanning automatically for references with unlimited deep path, so you don't need to worry anymore how to configure your permissions correct, because it's checking for references automatically.

Example 1:
User 1 want to edit or delete Node 1, but the owner of this node is User 2.
But Node 1 have node reference (via nodereference) to profile of User 2 and User 2 have another reference (via userreference) to User 1. So that means that User 1 is referenced to that node, so give him access to edit it (you can customized other operations).
See following chart for example:
http://drupal.org/node/520062
Using with view_own module, you can disable view permission for users and enable them only through references.

INSTALLATION

- Just enable the module;)

REQUIREMENTS

- http://drupal.org/project/cck module with nodereference and userreference module enabled
- knowledge how references are working and at least one content type with nodereference or userreference field

SUPPORTED MODULES

http://drupal.org/project/content_profile

RECOMMENDED MODULES

http://drupal.org/project/view_own

Other similar modules with access functionality through references:
http://drupal.org/project/nodeaccess_nodereference
http://drupal.org/project/nodeaccess_userreference

Project Information

Downloads