Closed (outdated)
Project:
Node Access Auto Reference
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2010 at 17:26 UTC
Updated:
7 Mar 2016 at 11:16 UTC
Jump to comment: Most recent
Comments
Comment #1
iLLin commentedBetter explanation would be if you have a project and you want to assign an admin, manager and user. You can have 3 user reference fields and for the admin field could have "Update" and "Delete" permissions. The manager field could have "Update" permissions. And if you install the view own module (this will restrict view permissions to node unless they have access), then the User field will only be able to view the node.
Comment #2
kenorb commentedGreat patches, thank you.
http://drupal.org/cvs?commit=348990
Comment #4
that0n3guy commentedI think that this may have cause this error http://drupal.org/node/780282 .
Just thought I'd let ya know.
Comment #5
kenorb commentedAnd probably this: #795358: Simiilar Duplicate entry problem
Comment #6
kenorb commentedThis patch probably caused followed bugs:
#781140: Not granting 'view' permissions, detailed explaination
#780282: When Rebuilding Permissions - warning: Invalid argument supplied for foreach()
#795358: Simiilar Duplicate entry problem
Reverted changes done in:
nodeaccess_autoreference_node_get_grants() and nodeaccess_autoreference_form_alter() and nodeaccess_autoreference_nodeapi()
Removed functions: _nodeaccess_autoreference_get_userref_fields() and _nodeaccess_autoreference_content_fields() and nodeaccess_autoreference_access_submit()
If you are interested with improving it, please upload new patch against current version.
Comment #7
kenorb commentedComment #8
kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.