Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Jsonapi Role Access

750 sites Security covered Drupal 10–11
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

Depends on

Dependencies of the latest stable release

  • jsonapi Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Nov 2025
Latest release
9 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

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