access checking for node add button is always returning false

Created on 5 June 2025, 8 days ago

Problem/Motivation

I am unable to get node add buttons to show up. Im not sure when this started to happen, but I believe this used to work properly.

After digging into the code I noticed that
public static function checkAccess(string $bundle) {
the value for $bundle is 'node'
changing the arguments in this function to
public static function checkAccess(string $entity_type, string $bundle) {
gets the correct value for $bundle.

I will provide a patch/MR

πŸ› Bug report
Status

Active

Version

2.0

Component

Code: Area Plugin

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

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