jsonapi_role_access
685 sites
Security covered
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