You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The deprecation message in isGranted()/decide() when called with more than one attribute advices to use the has_role(...) function for expressions, which itself has been deprecated since 4.2
How to reproduce
Call isGranted() with multiple attributes
Possible Solution
Advise to use is_granted(...) instead.
The text was updated successfully, but these errors were encountered:
… (xabbuh)
This PR was merged into the 4.4 branch.
Discussion
----------
[Security] suggest a non-deprecated function replacement
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#35437
| License | MIT
| Doc PR |
Commits
-------
731730f suggest a non-deprecated function replacement
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 4.4
Description
The deprecation message in
isGranted()
/decide()
when called with more than one attribute advices to use thehas_role(...)
function for expressions, which itself has been deprecated since 4.2How to reproduce
Call
isGranted()
with multiple attributesPossible Solution
Advise to use
is_granted(...)
instead.The text was updated successfully, but these errors were encountered: