Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Access By Taxonomy

81 sites Security covered
View on drupal.org

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.

Activity

Total releases
5
First release
Mar 2025
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.2.3 Stable May 21, 2026
1.2.2 Stable May 18, 2026
1.2.1 Stable Feb 27, 2026
1.1.1 Stable Sep 30, 2025
1.1.0 Stable Mar 7, 2025