1

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?

2

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? – StG Feb 3 '15 at 18:42
  • @StG yes, it can do it ,of course it did not hide them( disable access to them) – Yusef Feb 3 '15 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. – StG Feb 3 '15 at 18:49
  • @StG your welcome, also if you have a development knowledge maybe there are another ways but need more time :) – Yusef Feb 3 '15 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.