Restrict access to empty top level administration pages for overview controller

Created on 18 August 2023, over 1 year ago
Updated 11 March 2024, 10 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 3 days 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.71.5 2024