TypeError: Drupal\role_delegation\Access\RoleDelegationAccessCheck::access(): Argument #1 ($account) must be of type Drupal\Core\Session\AccountInterface, null given

Created on 26 June 2023, about 1 year ago
Updated 27 June 2023, about 1 year ago

Problem/Motivation

This is a follow-up issue to πŸ› Impossible to use "Bulk update" without "Administer users" permission Fixed where \Drupal\role_delegation\Access\RoleDelegationAccessCheck::access is being called from action plugins with the account argument being NULL.

Proposed resolution

Allow $account to be NULL and default back to the current user in those cases.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.69.0 2024