there are two content types on my site: Projects and Employees. Employees has a user reference field, Projects have several node reference fields to Employees (according to different project roles). I grant rights to users with Node access user reference and Node access node reference modules so they can view and edit only the nodes they are referenced to (either directly or indirectly). Certain referenced users (project managers) should be able to add other Employees in Project nodes but in the same time they must not see their personal data. Therefore they haven't got any referencable Employee nodes. Would it be possible to grant access to the node titles (and nid's for referencing) only and hide other fields?
1 Answer
Yes you can, with field_permissions module you can set permissions according to the fields.
-
Do you mean to hide all other fields with this module and make the Employees content type viewable for authenticated users?– StGCommented Feb 3, 2015 at 18:42
-
@StG yes, it can do it ,of course it did not hide them( disable access to them)– YuseferiCommented Feb 3, 2015 at 18:43
-
I'd gladly avoid this because there are lot's of fields in this content type but it seems to be a suitable solution nonetheless. Thanks a lot.– StGCommented Feb 3, 2015 at 18:49
-
@StG your welcome, also if you have a development knowledge maybe there are another ways but need more time :)– YuseferiCommented Feb 3, 2015 at 18:51