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). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

URL Restriction By Role

624 sites Security covered Drupal 8–11
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Nov 2024
Latest release
6 months ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.1 Stable 8–11 Feb 26, 2026
2.0.0 Stable 8–11 Mar 31, 2025
2.0.x-dev Dev 8–11 Mar 31, 2025
1.1.5 Stable 8–11 Nov 26, 2024