Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
jmuzz CreditAttribution: jmuzz commentedNo, 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.