The Jsonapi Role Access module allows you to manage access of jsonapi resources based on user role.It provide 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
Supporting organizations:
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Access control
- Ecosystem: JSON:API
732 sites report using this module
- Created by arshadkhan35 on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.




