Restrict access to empty top level administration pages for overview controller

Created on 18 August 2023, 10 months ago
Updated 11 March 2024, 4 months ago

Problem/Motivation

fix Restrict access to empty top level administration pages routes using for\Drupal\system\Controller\SystemController::overview

Steps to reproduce

/admin/config uses \Drupal\system\Controller\SystemController::overview you would still see "you have no administrative items." if all the child routes are removed.

Proposed resolution

set _access_admin_menu_block_page and _access_admin_overview_page
requirements and access_check on those routes if they are set for any of the routes.

Remaining tasks

Review

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.3

Component
System 

Last updated 1 day ago

No maintainer
Created by

🇺🇸United States hooroomoo

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024