← all change records

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

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

Generated 2026-06-03 14:00 UTC

Matching rules (2)

  • from: fqn: '\Drupal\Core\Session\UserSession::hasPermission' arg: 0 types: - 'null' to: fqn: '\Drupal\Core\Session\UserSession::hasPermission' arg: 0 types: - not_null
  • from: fqn: '\Drupal\user\Entity\User::hasPermission' arg: 0 types: - 'null' to: fqn: '\Drupal\user\Entity\User::hasPermission' arg: 0 types: - not_null

Affected contrib projects (42)

Project legacy in_flight migrated installs files adopters
google_analytics 0 0 1 143,044 0 1
xmlsitemap 0 0 2 134,508 0 1
backup_migrate 0 0 1 119,062 0 1
scheduler 0 0 1 103,900 0 1
role_delegation 0 0 1 53,166 0 2
quickedit 0 0 2 41,692 0 1
tfa 0 0 2 14,888 0 5
userprotect 0 0 1 14,605 0 1
blog 0 0 1 11,103 0 1
moderation_dashboard 0 0 2 7,180 0 1
bamboo_twig 0 0 1 3,535 0 1
privatemsg 0 0 1 2,714 0 1
content_synchronizer 0 0 1 2,245 0 1
dxpr_builder 0 0 3 1,911 0 1
views_field_permissions 0 0 1 1,382 0 1
administration_language_negotiation 0 0 1 1,311 0 1
cms_content_sync 0 0 1 1,180 0 1
oauth2_server 0 0 1 1,074 0 1
notify 0 0 1 813 0 3
miniorange_2fa 0 0 1 781 0 1
shurly 0 0 1 653 0 2
opigno_learning_path 0 0 1 495 0 2
moderation_note 0 0 1 437 0 1
calculation_fields 0 0 1 144 0 2
alogin 0 0 1 106 0 1
tripal 0 0 1 94 0 4
achievements 0 0 1 82 0 1
intercept 0 0 1 42 0 2
gauth_user 0 0 1 22 0 1
comingsoon_mode 0 0 1 21 0 1
media_from_images 0 0 2 21 0 1
epayco 0 0 1 19 0 1
micro_user 0 0 1 17 0 1
crowd 0 0 1 15 0 1
api 0 0 1 12 0 1
static_generator 0 0 1 12 0 1
otp_field 0 0 1 11 0 2
user_coins 0 0 1 9 0 1
login_time_restriction 0 0 1 7 0 1
access_unpublished_linked_nodes 0 0 1 3 0 2
translators 0 0 1 3 0 2
knowledge 0 0 1 2 0 1