Access denied on "entity.node.content_translation_add" when LanguageNegotiationUserAdmin is enabled

Created on 27 February 2024, about 1 year ago
Updated 21 May 2024, 12 months ago

Problem/Motivation

After enabling the LanguageNegotiationUserAdmin plugin we get a access denied on the "entity.node.content_translation_add" route.

Steps to reproduce

  • We enable the LanguageNegotiationUserAdmin plugin.
  • Then we go to the translation tab of a node "/node/%node/translations"
  • We try to add an english translation

Proposed resolution

Add extra logic to get the route_name.
Same logic as in the LanguageNegotiationUserAdmin plugin.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium p-neyens

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