This module allows you to create entity reference fields that display different options based on the user's role. It extends the functionality of Views entity reference, enabling you to filter available entities using a role-based view. This provides a flexible way to control which entities users can select in reference fields.
this module handles situations when you want to add one entity reference field with different data filled in according to each user role and control access to data it's an extended functionality of Views entity reference by entity reference view.
i.e. if you want a user that has an admin role to select between all other admin users and non-admin users select other users and this idea can be generalized to content and any entity that view can list. you just need to select "Views: Filter by an entity reference role based views plugin" option while you are creating or editing the entity reference field and Voila! here you go like in the picture.
Ask your assistant about Role Based Views Entity Reference
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta2 | Pre-release | 8–10 | Jan 20, 2023 |