← all change records
Not yet reviewed. Contrib-impact data below may be incomplete.

#3411485 UserSession::hasPermission() and User::hasPermission() require string permission now

released Target 10.3.x Published 2024-03-01
#3410098

Generated 2026-05-12 08:43 UTC

Rules (2)

signature 2
from
\Drupal\Core\Session\UserSession::hasPermission
  • args: null
\Drupal\User\Entity\User::hasPermission
  • args: null
to
\Drupal\Core\Session\UserSession::hasPermission
  • args: not_null
\Drupal\User\Entity\User::hasPermission
  • args: not_null

Affected contrib projects (4)

Project legacy in_flight migrated no_match installs files adopters
xmlsitemap 0 0 2 0 129,598 0 0
oauth2_server 0 0 1 0 1,018 0 0
api 0 0 1 0 11 0 0
knowledge 0 0 1 0 2 0 0