'Access by Taxonomy' page displayed in default theme

Created on 4 September 2023, over 1 year ago
Updated 19 April 2024, 8 months ago

Problem/Motivation

The 'Access by Taxonomy' page gets displayed in the default theme, instead of the admin theme.
Though they can be one and the same, that isn't always the case.
I believe the page should be shown in the admin theme rather than the default theme. If this would be unwanted behavior, a developer can still configure the admin theme to be the default theme.

Steps to reproduce

  1. Install and enabled TAC Lite
  2. Go to admin/appearance, and make sure you have at least 2 themes installed
  3. Pick a theme, and set it as your 'default' theme
  4. Scroll to the bottom of the page, and choose an 'admin' theme. Do not choose 'default theme' or the actual name of the theme you chose in step 3
  5. Edit any User, and click on the 'Access by Taxonomy' tab
  6. The page should be shown in the 'default' theme, not the 'admin' theme

Proposed resolution

Add the _admin_route: TRUE option to the tac_lite.user_access Route.
More information: https://www.drupal.org/docs/drupal-apis/routing-system/structure-of-routes β†’

The tac_lite.administration Route doesn't need this, because paths that start with '/admin' are by default to be considered admin routes.

✨ Feature request
Status

RTBC

Version

1.7

Component

User interface

Created by

πŸ‡§πŸ‡ͺBelgium vodde83

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

Comments & Activities

Production build 0.71.5 2024