Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Jsonapi Role Access

Security covered Maintenance fixes only 813 sites

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
Drupal 10–11

Ask your assistant about Jsonapi Role Access

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

  • jsonapi Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
8
Tracked since
Mar 2023
Latest release
1 month ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 10–11 Sep 2, 2026
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
1.1.1 Stable 9–10 May 16, 2023
1.1.0 Stable 9–10 Mar 31, 2023