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.
There are a number of modules (I use Field Permissions) that allow users to set individual access permissions per field. At the moment, Empty Fields does not respect these permissions (or at least, this is my experience). So, for instance, if anonymous users are not allowed to view a field, it will normally not show up. However, if the field is empty, the empty text does display to anonymous users. I don't know what the best way to go about adding support would be, but it would be a great addition to this module.
Comments
Comment #1
Alan D. CreditAttribution: Alan D. commentedThanks, nice catch. This has been committed, http://drupalcode.org/project/empty_fields.git/patch/9359a84
Comment #2
mrweiner CreditAttribution: mrweiner commentedGlad I could help! :)