Reference Access

Component ID

2868058

Component name

Reference Access

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

200

Component created

Component changed

Component body

Reference Access allows restricting access to content unless a user references that content (via an entity reference field on users).

Also, the access check can go one level deeper: It can check if the content is referenced by content that is referenced by the user.

The reference checks are done only on selected content types; all not-selected content types are ignored. These are chosen in the module settings at /admin/config/reference_access/config.

There is also a permission that allows specific roles to bypass all reference checks.

Lastly, reference fields are hidden on all user edit forms except for roles that have the bypass permission (such as administrators).