Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

URL Restriction By Role

Security covered Under active development 617 sites

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.
Drupal 8–11

Ask your assistant about URL Restriction By Role

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

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
7
Tracked since
Apr 2023
Latest release
7 months ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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
1.1.4 Stable 8–11 Sep 2, 2024
1.1.3 Stable 8–10 Aug 12, 2023
1.1.2 Stable 8–10 Apr 26, 2023