Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Entity Operation Access

Security covered Maintenance fixes only 590 sites

veoa provides a Views access control plugin that checks if a user has permission to perform specific operations (like view, edit, or delete) on an entity displayed in a view. It works by adding a parameter converter for Drupal routes, allowing you to specify the entity type and the operation to check.

Provides a Views access control plugin checking if the user can perform an operation on an entity by adding an appropriate entity parameter upconverter for Drupal 8 routes.

Instructions

  • Create a page view
  • For the path, ensure there is an entity type parameter. The parameter is usually the machine name of the entity type in the location of the ID.
    For example:
    • user/9/my_comments = user/%user/my_comments
    • node/23/related = node/%node/related
  • Set Access plugin to 'Entity Operation'
  • Set Access options:
    • Parameter name: the name used in place of the entity ID. For '%user', set to 'user' etc
    • Entity type: the entity type to match to the entity ID.
    • Operation to check: view, edit, update, delete, other etc. Will check whether the current user has permission to execute this operation on the entity in the path.

Support

1.x branch is no longer supported, 2.x is a drop in replacement for 1.x.

Drupal 10–11

Ask your assistant about Views Entity Operation Access

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

Tracked releases
2
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Active

Releases

Version Type Core PHP Release date
2.0.2 Stable 10–11 Sep 24, 2024
2.0.1 Stable 8–10 Feb 2, 2023