Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Access by Field

Security covered Under active development 20 sites

This module adds content access restrictions based on matching field values between a user and an entity. It allows you to grant or deny view, edit, and delete permissions for content and taxonomy entities if specific fields on the user and entity share the same value.

This module provides additional access restrictions based on the value of a common field between user and entity. If both the fields hold same value, the user will have access to operations its role has opted. View, Edit and Delete operations can be managed for Entities (Content and Taxonomy).

Currently this module supports following field types:

  • Entity Reference that includes Term & Content.
  • Boolean
  • Select

Features

This module allows you to add additional restrictions on top of role and permission based restriction. For e.g: If a user has content editor role but we want to restrict the content edit access to certain contents based on content category.
This module makes such use cases possible. Currently this module supports adding restrictions for content and taxonomy entities.

Module Configuration

  • The module provides two forms; for adding field mappings & managing role access.
  • Module has a dashboard as well, where all the mappings gets listed.
  • The module also supports its own permission, that lets user restrict which role has access to its settings.

Module installation

Just like any contributed module, this module can be added and enabled.

Similar projects

There are few similar modules, you may want to check:

Drupal 9–10 · not 11

Ask your assistant about Access by Field

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
3
Tracked since
Sep 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0 Stable 9–10 Oct 5, 2023
1.0.0-beta1 Pre-release 9–10 Sep 28, 2023
1.0.x-dev Dev 9–10 Sep 28, 2023