Closed (fixed)
Project:
Node access user reference
Version:
6.x-2.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2009 at 21:05 UTC
Updated:
19 Dec 2009 at 14:00 UTC
I wonder if there is an easy way to do this:
I have nodes referencing users, using this module to control so that users can only see the nodes that they are referenced by. Now, there is a need for certain users to see all posts that reference certain other users.
So:
manager can see any nodes referenced to empl1, empl2, etc.
But, without giving administer nodes permission as that would give too much access.
Any thoughts?
TIA
Comments
Comment #1
danielb commentedI would make another module, and use it in conjunction with this one. The other module would give certain users access to posts that certain other users have access to.
I've done this before by having a list of users appear in a salesperson's profile, where the people are of the role 'manager' and of the same 'company' as the salesperson. The person or admin picks the salesperson's manager there.
Comment #2
danielb commentedI'd put the code up but I don't have access to the server it's on.
Comment #3
Magnity commentedThanks for the pointer... i'll have a go at this.