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?

1 Answer 1

2

Yes you can, with field_permissions module you can set permissions according to the fields.

4
  • Do you mean to hide all other fields with this module and make the Employees content type viewable for authenticated users?
    – StG
    Commented Feb 3, 2015 at 18:42
  • @StG yes, it can do it ,of course it did not hide them( disable access to them)
    – Yuseferi
    Commented 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.
    – StG
    Commented 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 :)
    – Yuseferi
    Commented Feb 3, 2015 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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