Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Access By Taxonomy

Security covered Under active development 92 sites

This module restricts access to content based on the taxonomy terms it's associated with. You can define which roles or users are allowed to view content by configuring permissions directly on the taxonomy terms. When a term is applied to a piece of content, only the permitted users can access it.

Use this module to give access to content depending on the taxonomy terms that are applied to it.

Features

On the taxonomy term you can specify who are the roles or the specific users that are allowed to a certain term. When the term is applied to a node, then only those users and roles will be able to access.

On the node edit page, you'll be able to inspect the access permission currently stored on the database and you will see how permissions will change depending on the taxonomy terms applied to the content.

Post-Installation

After installation you will see permission fields on taxonomy terms where to specify which roles and users a term is restricted to.

Additional Requirements

Other than core, this module needs only taxonomy relation fields to work on.

Similar projects

A similar functionality is provided by permissions_by_term. We think this solution is leaner and has less complications, as we use only node access hooks and simply deal with the core content access functionality.

Drupal 10–11

Ask your assistant about Access By Taxonomy

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

  • field_ui Drupal core
  • taxonomy Drupal core
  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
17
Tracked since
Aug 2024
Latest release
4 months ago
Releases (12 mo)
3 ▼ from 7
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta4 Pre-release 10 Oct 8, 2024
1.0.0-beta3 Pre-release 10 Sep 5, 2024
1.0.0-beta2 Pre-release 8–10 Aug 20, 2024
1.0.0-beta1 Pre-release 8–10 Aug 19, 2024
1.0.0-alpha2 Pre-release 8–10 Aug 7, 2024
1.0.0-alpha1 Pre-release 8–10 Aug 2, 2024
1.0.x-dev Dev 10–11 Aug 2, 2024