Link group titles on the Permissions page to their filtered permissions page

Created on 28 February 2025, about 1 month ago

Problem/Motivation

On the Permissions page (/admin/people/permissions), permissions are grouped by the module that provides them. While Drupal already has a route (/admin/people/permissions/module/[modulename]) that allows filtering permissions for a specific module, there is no direct way to access this filtered view from the main permissions page.

Adding a clickable link to the module name in the permissions table would significantly improve navigation, allowing administrators to quickly filter and manage permissions for a specific module.

Steps to reproduce

Currently, users must manually navigate to /admin/people/permissions/module/[modulename] by typing the URL or using other means.
or by clicking the "Permissions" link displayed on the modules listing page for each module, which provides some permissions.

  1. Navigate to People > Permissions (/admin/people/permissions).
  2. Observe that permissions are grouped by module, but the module names are not clickable.
  3. Manually visit /admin/people/permissions/module/[modulename] to see a filtered list of permissions for a specific module.

Proposed resolution

  • Modify the Permissions page to make the module group title a clickable link.
  • Each module title should link to /admin/people/permissions/module/[modulename].
  • Ensure accessibility and usability are maintained.

Remaining tasks

  • Update the Permissions page UI to add links to module names.
  • Ensure the links point to the correct module-based permissions view.
  • Verify the solution works across different admin themes.
  • Write tests to confirm functionality.
  • Update documentation if necessary.

User interface changes

The module name titles on the Permissions page will become clickable links, directing users to the filtered permissions view for that module.

Introduced terminology

API changes

Data model changes

Release notes snippet

Feature request
Status

Active

Version

11.0 🔥

Component

user system

Created by

🇮🇳India prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024