← all change records
#3411485 UserSession::hasPermission() and User::hasPermission() require string permission now
Generated 2026-09-22 02: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 (74)
| Project | legacy | in_flight | migrated | installs | files | adopters | |
|---|---|---|---|---|---|---|---|
| google_analytics ↗ | 0 | 0 | 1 | 133,116 | 1 | 1 | |
| xmlsitemap ↗ | 0 | 0 | 2 | 126,111 | 0 | 1 | |
| backup_migrate ↗ | 0 | 0 | 1 | 113,774 | 1 | 1 | |
| scheduler ↗ | 0 | 0 | 1 | 101,087 | 1 | 1 | |
| role_delegation ↗ | 0 | 0 | 1 | 53,227 | 2 | 2 | |
| quickedit ↗ | 0 | 0 | 2 | 36,250 | 1 | 1 | |
| eca ↗ | 0 | 0 | 0 | 19,931 | 1 | 1 | |
| samlauth ↗ | 0 | 0 | 0 | 18,462 | 1 | 1 | |
| userprotect ↗ | 0 | 0 | 1 | 16,034 | 1 | 1 | |
| tfa ↗ | 0 | 0 | 2 | 15,012 | 5 | 5 | |
| blog ↗ | 0 | 0 | 1 | 12,010 | 1 | 1 | |
| canvas ↗ | 0 | 0 | 1 | 8,315 | 1 | 1 | |
| moderation_dashboard ↗ | 0 | 0 | 2 | 8,263 | 1 | 1 | |
| workbench_access ↗ | 0 | 0 | 0 | 8,231 | 1 | 1 | |
| permissions_by_term ↗ | 0 | 0 | 0 | 6,200 | 3 | 3 | |
| workflow ↗ | 0 | 0 | 0 | 5,412 | 1 | 1 | |
| bamboo_twig ↗ | 0 | 0 | 1 | 3,829 | 1 | 1 | |
| l10n_client ↗ | 0 | 0 | 0 | 2,617 | 1 | 1 | |
| translation_views ↗ | 0 | 0 | 0 | 2,613 | 1 | 1 | |
| privatemsg ↗ | 0 | 0 | 1 | 2,603 | 1 | 1 | |
| saml_sp ↗ | 0 | 0 | 0 | 2,304 | 1 | 1 | |
| content_synchronizer ↗ | 0 | 0 | 1 | 1,990 | 1 | 1 | |
| domain_entity ↗ | 0 | 0 | 0 | 1,913 | 1 | 1 | |
| domain_path ↗ | 0 | 0 | 0 | 1,835 | 1 | 1 | |
| photos ↗ | 0 | 0 | 0 | 1,784 | 1 | 1 | |
| views_field_permissions ↗ | 0 | 0 | 1 | 1,378 | 1 | 1 | |
| administration_language_negotiation ↗ | 0 | 0 | 1 | 1,166 | 1 | 1 | |
| oauth2_server ↗ | 0 | 0 | 1 | 1,018 | 0 | 1 | |
| opigno_learning_path ↗ | 0 | 0 | 1 | 987 | 2 | 2 | |
| dxpr_builder ↗ | 0 | 0 | 3 | 972 | 1 | 1 | |
| notify ↗ | 0 | 0 | 1 | 757 | 3 | 3 | |
| miniorange_2fa ↗ | 0 | 0 | 1 | 637 | 1 | 1 | |
| shurly ↗ | 0 | 0 | 1 | 597 | 2 | 2 | |
| cms_content_sync ↗ | 0 | 0 | 1 | 451 | 1 | 1 | |
| message_banner ↗ | 0 | 0 | 0 | 383 | 1 | 1 | |
| bookable_calendar ↗ | 0 | 0 | 0 | 342 | 1 | 1 | |
| ai_context ↗ | 0 | 0 | 1 | 299 | 1 | 1 | |
| moderation_note ↗ | 0 | 0 | 1 | 255 | 1 | 1 | |
| cloudflare_node_cc ↗ | 0 | 0 | 0 | 238 | 1 | 1 | |
| lms ↗ | 0 | 0 | 0 | 196 | 1 | 1 | |
| editorial_access_manager ↗ | 0 | 0 | 0 | 193 | 1 | 1 | |
| par ↗ | 0 | 0 | 0 | 192 | 1 | 1 | |
| alogin ↗ | 0 | 0 | 1 | 169 | 1 | 1 | |
| calculation_fields ↗ | 0 | 0 | 1 | 145 | 2 | 2 | |
| tripal ↗ | 0 | 0 | 1 | 89 | 4 | 4 | |
| achievements ↗ | 0 | 0 | 1 | 66 | 1 | 1 | |
| webform_remote_fields ↗ | 0 | 0 | 0 | 32 | 1 | 1 | |
| comingsoon_mode ↗ | 0 | 0 | 1 | 28 | 1 | 1 | |
| content_translation_access ↗ | 0 | 0 | 0 | 26 | 1 | 1 | |
| gauth_user ↗ | 0 | 0 | 1 | 22 | 1 | 1 | |
| media_from_images ↗ | 0 | 0 | 2 | 21 | 1 | 1 | |
| monster_menus ↗ | 0 | 0 | 0 | 21 | 1 | 1 | |
| simpleavs ↗ | 0 | 0 | 0 | 21 | 5 | 6 | |
| otp_field ↗ | 0 | 0 | 1 | 20 | 2 | 2 | |
| epayco ↗ | 0 | 0 | 1 | 19 | 1 | 1 | |
| micro_user ↗ | 0 | 0 | 1 | 19 | 1 | 1 | |
| intercept ↗ | 0 | 0 | 1 | 17 | 2 | 2 | |
| api ↗ | 0 | 0 | 1 | 14 | 0 | 1 | |
| login_time_restriction ↗ | 0 | 0 | 1 | 13 | 1 | 1 | |
| collabora_online ↗ | 0 | 0 | 0 | 12 | 1 | 1 | |
| friendship ↗ | 0 | 0 | 0 | 12 | 1 | 1 | |
| user_coins ↗ | 0 | 0 | 1 | 12 | 1 | 1 | |
| crowd ↗ | 0 | 0 | 1 | 9 | 1 | 1 | |
| static_generator ↗ | 0 | 0 | 1 | 7 | 1 | 1 | |
| access_unpublished_linked_nodes ↗ | 0 | 0 | 1 | 3 | 2 | 2 | |
| tapis_system ↗ | 0 | 0 | 1 | 3 | 1 | 1 | |
| translators ↗ | 0 | 0 | 1 | 3 | 2 | 2 | |
| contribution_records ↗ | 0 | 0 | 1 | 2 | 2 | 2 | |
| knowledge ↗ | 0 | 0 | 1 | 2 | 0 | 1 | |
| cloud ↗ | 0 | 0 | 0 | 1 | 2 | 2 | |
| tapis_auth ↗ | 0 | 0 | 1 | 1 | 1 | 1 | |
| tasty_backend_group ↗ | 0 | 0 | 0 | 1 | 1 | 1 | |
| drupalorg ↗ | 0 | 0 | 0 | 0 | 1 | 1 | |
| trinion_base ↗ | 0 | 0 | 0 | 0 | 1 | 1 |