0

I have a role "worker".
I have one content type "task" that can be viewed just by "workers".
"Task" has 3 fields:

  1. field-A: a user reference field to select a "worker" user;
  2. field-B: one textfield that can be view from any "worker";
  3. field-C: one textfield that can be view just from "workers" related to the node using field-A.

How can I set permissions to let users view just the fields they are allowed to?
Content_permission just has a per role granularity, so I can't use it in a dynamic context and with many categories.
User Reference Access just set permission to the whole node.
I'm looking for something like Taxonomy Access, but with a per field granularity.

1

Have you checked the Field Permission module which allows site administrators to set field-level permissions to edit, view and create fields on any entity.

  • This seems to do the same as Content Permission, ported to D7. – pasine Sep 17 '12 at 10:42
  • But this allows to manage permissions for each field separately during edit of particular form field.. – mohit_rocks Sep 17 '12 at 10:52
  • Yes, but always on a author/role basis. How do you suggest to solve this? – pasine Sep 17 '12 at 11:33

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.