This module enhances Drupal's Views access control by allowing you to configure role-based permissions that require a user to have either any or all of the selected roles. It also provides options to negate these conditions, granting access if a user lacks certain roles. This ensures consistent access control for views and their associated routes.
This module creates a plugin to enhance the core views role access functionality.
In addition to allowing a user with at least one of the selected roles access to the view (the core "or" option), the plugin provided by this module will provide an "and" option so that a user must have all of the selected roles to be allowed access to the view.
There is also an option to "negate" the action so that a user is allowed access to the view if they do not have any of the selected roles (the "or" option), or to allow a user access if they do not have all of the selected roles (the "and" option).
The plugin also ensures that the same access criteria is applied to any route associated with a view using the Views Advanced Role access. This is most usually a page display rather then a block display.
Depends on
Dependencies of the latest stable release
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.2 | Stable | 8–11 | Support Drupal 10 and 11. | Dec 16, 2025 |