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). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). 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.

Jsonapi Role Access

748 sites Security covered
View on drupal.org

This module allows administrators to control which user roles can access JSON:API resources. You can easily restrict or grant access for any role through a simple settings form, for instance, to prevent anonymous users from accessing certain data.

The Jsonapi Role Access module allows you to manage access of jsonapi resources based on user role. It provides a simple setting form from where you can restrict or allow a user role to access jsonapi resource. For example, you can restrict anonymous user to access jsonapi resources or you can allow only authenticated user(or any role) to access jsonapi resources.

Use Jsonapi Role Access to restrict or allow access of jsonapi resources to any user role.

Installation

  • Install the JSON:API module.
  • Install the Jsonapi Role Access module.
  • Visit /admin/config/jsonapi-role-access/settings to set access control.
  • If it doesn't reflect after saving settings form, try clearing routing cache.

Installation Via Composer

  • composer require drupal/jsonapi_role_access

Activity

Total releases
5
First release
Nov 2025
Latest release
7 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
2.0.1 Stable Nov 20, 2025
2.0.0 Stable Nov 20, 2025
2.x-dev Dev Nov 20, 2025
1.1.3 Stable Nov 7, 2025
1.1.2 Stable Nov 7, 2025