URL Restriction By Role
This module allows administrators to restrict access to specific URLs based on user roles. You can define which roles have access to certain paths on your site.
Description
The URL Restriction By Role (url_restriction_by_role) module provides a simple way for users to
configure restrictions in the access of urls using the roles available for the platform.
About the different releases
Starting with 2.0.0 the character '*' is supported as a wildcard.
Requirements
This module requires no modules outside of Drupal core.
Installation
Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod... for further information.
Configuration
The configuration page can be found in admin/config/search/path/url-restriction-by-role.
- Set the url to be restricted in the form;
- Enable or disable the urls to be restricted;
- Chose the only roles that should have access to the urls;
- Click Save.