← 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-11-20 03:00 UTC

Matching rules (2)

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

Affected contrib projects (85)

Project legacy in_flight migrated installs files adopters
google_analytics ↗ 0 0 2 133,116 1 1
xmlsitemap ↗ 0 0 2 126,111 0 1
scheduler ↗ 0 0 2 121,425 1 1
backup_migrate ↗ 0 0 2 113,774 1 1
role_delegation ↗ 0 0 1 58,021 2 2
quickedit ↗ 0 0 2 41,737 1 1
eca ↗ 0 0 3 23,633 1 1
userprotect ↗ 0 0 1 20,708 1 1
tfa ↗ 0 0 2 15,012 5 5
canvas ↗ 0 0 4 11,747 1 2
blog ↗ 0 0 1 10,211 1 1
moderation_dashboard ↗ 0 0 1 8,526 1 1
permissions_by_term ↗ 0 0 1 6,200 3 3
bamboo_twig ↗ 0 0 2 3,869 1 1
privatemsg ↗ 0 0 1 2,385 1 1
content_synchronizer ↗ 0 0 1 1,947 1 1
ai_content_review ↗ 0 0 2 1,559 1 1
views_field_permissions ↗ 0 0 1 1,320 1 1
administration_language_negotiation ↗ 0 0 1 1,160 1 1
opigno_learning_path ↗ 0 0 2 987 2 2
ai_context ↗ 0 0 1 946 1 1
oauth2_server ↗ 0 0 3 933 0 1
dxpr_builder ↗ 0 0 11 922 1 1
cms_content_sync ↗ 0 0 1 859 1 1
notify ↗ 0 0 1 740 3 3
miniorange_2fa ↗ 0 0 2 595 1 1
shurly ↗ 0 0 1 578 2 2
message_banner ↗ 0 0 2 434 1 1
reference_blocked_users ↗ 0 0 1 356 1 1
bot_blocker ↗ 0 0 1 290 1 1
moderation_note ↗ 0 0 1 270 1 1
cloudflare_node_cc ↗ 0 0 1 265 1 1
lms ↗ 0 0 2 254 1 1
alogin ↗ 0 0 1 215 1 1
seo_analyzer ↗ 0 0 1 176 1 1
calculation_fields ↗ 0 0 1 120 2 2
tripal ↗ 0 0 1 94 4 4
achievements ↗ 0 0 1 72 1 1
chatroom ↗ 0 0 1 35 1 1
webform_remote_fields ↗ 0 0 1 32 1 1
chat_messenger ↗ 0 0 1 25 1 1
comingsoon_mode ↗ 0 0 1 25 1 1
gauth_user ↗ 0 0 1 24 1 1
otp_field ↗ 0 0 1 24 2 2
protected_pages_extra ↗ 0 0 1 24 1 1
tapis_auth ↗ 0 0 1 23 1 1
tapis_system ↗ 0 0 1 23 1 1
epayco ↗ 0 0 1 17 1 1
daedalus ↗ 0 0 1 16 1 1
api ↗ 0 0 1 15 0 1
media_from_images ↗ 0 0 2 14 1 1
micro_user ↗ 0 0 1 14 1 1
drupal_rag_toolkit ↗ 0 0 1 13 1 1
static_generator ↗ 0 0 1 11 1 1
crowd ↗ 0 0 1 9 1 1
intercept ↗ 0 0 3 9 2 2
user_coins ↗ 0 0 1 9 1 1
login_time_restriction ↗ 0 0 1 8 1 1
content_replace ↗ 0 0 1 6 1 1
orchestra ↗ 0 0 1 6 6 6
commerce_make_to_order ↗ 0 0 2 5 2 2
audit_chain ↗ 0 0 1 4 0 1
graphql_compose_codegen ↗ 0 0 1 4 1 1
liquid_voting ↗ 0 0 1 4 1 1
translators ↗ 0 0 1 3 2 2
contribution_records ↗ 0 0 1 2 2 2
knowledge ↗ 0 0 2 2 0 2
webdav ↗ 0 0 1 2 1 1
access_unpublished_linked_nodes ↗ 0 0 1 1 2 2
bookable_resources ↗ 0 0 1 1 1 1
sso_connector_permissions ↗ 0 0 1 1 1 1
sso_connector_saml ↗ 0 0 1 1 1 1
tasty_backend_group ↗ 0 0 1 1 1 1
transcribe ↗ 0 0 1 1 1 1
agency ↗ 0 0 2 0 1 1
ai_act ↗ 0 0 1 0 1 1
ai_code_review_server ↗ 0 0 1 0 25 25
ai_image_studio ↗ 0 0 2 0 1 1
bucketpilot ↗ 0 0 1 0 2 2
ck5_chart_builder ↗ 0 0 2 0 1 1
cloud ↗ 0 0 3 0 2 2
decionis ↗ 0 0 1 0 2 2
fido2auth ↗ 0 0 2 0 1 1
jsonrpc_change_email_no_password ↗ 0 0 1 0 1 1
liipgpt ↗ 0 0 1 0 0 1