Styling is broken when visiting an admin route without the 'view the administration theme' permission

Created on 14 December 2022, almost 2 years ago
Updated 29 December 2023, 11 months ago

Problem/Motivation

Some admin routes can also be rendered using the frontend theme, depending on the permissions of the user.

Steps to reproduce

  1. Create a node type
  2. Create a user role that can edit its own nodes of this type, but without view the administration theme permission
  3. Create a user with this role, log in and create/edit a node. The styling will be broken.

Proposed resolution

An additional permission check should be added to CriticalCssProviderInterface::isEnabled.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024