Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module adds a field formatter for entity reference fields that will allow showing the entity label to all users, regardless of the entity access result.

Use cases:

The most common scenario for this module is when you need to let the general public know about the existence of some entities while retaining access control (roles/permissions, etc).

For example, an exam entity. An e-learning platform could have an entity reference field allowing editors to show the available exams. This is public info, but the exams are protected by access control checks and, by default, they can only be seen by allowed users.

By using this field formatter you will be able to bypass the access check and show the label to all users.

Security

¡Beware! Use this module it carefully as it poses a security threat and can expose sensitive information.

Supporting organizations: 
Developed the module

Project information