← all change records
signature
2
#3411485 UserSession::hasPermission() and User::hasPermission() require string permission now
Generated 2026-05-12 08:43 UTC
Rules (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 |