Does anybody know how to make instances of a field collection private? And by this, I mean, I have a field collection, and I'd like to have a check box or something for public or private so that each time you press "add another" to create a new instance, you can set the part of the collection to be viewable only by users of a certain role. I don't want to make the whole field collection private, but each individual section.

Comments

jmuzz’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Category: Support request » Feature request
Issue summary: View changes

No, there is not currently a way, but it's a good idea. A hook could be added to field_collection_item_access to allow other modules to modify access on individual field collection items similar to how field_access is implemented.