Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.8k
[SecurityBundle][TwigBridge] Addis_granted_for_user() function#59129
[SecurityBundle][TwigBridge] Addis_granted_for_user() function#59129chalasr merged 1 commit intosymfony:7.3from
is_granted_for_user() function#59129Conversation
6b16385 to4d94858Comparenatewiebe13 commentedDec 7, 2024
user_is_granted() function to twigUh oh!
There was an error while loading.Please reload this page.
user_is_granted() function to twiguser_is_granted() function to twiguser_is_granted() function to twiguser_is_granted() functionOskarStark commentedDec 7, 2024
We also need no raise the dependency to 7.3 in composer.json to make it work |
derrabus commentedDec 7, 2024
We should not need to do that. The dependency is optional. 🤔 |
OskarStark commentedDec 7, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Ok |
src/Symfony/Bundle/SecurityBundle/Resources/config/templating_twig.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
4d94858 toe7e8182Comparenatewiebe13 commentedDec 9, 2024
Fixed BC break. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
e7e8182 tobf8a1bfCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
bf8a1bf to46a4defCompareuser_is_granted() functionis_granted_for_user() functionUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
46a4def tof00878dComparef00878d tod7b5a82Comparestof commentedDec 17, 2024
I'm still holding on my comment in#59129 (comment) |
chalasr commentedDec 17, 2024
Better DX is desirable here so 👍 for stof's suggestion. It should be a |
d7b5a82 toae3b09cComparenatewiebe13 commentedDec 17, 2024
Sounds good. Just wanted to make sure there was consensus on that. 👍 |
Uh oh!
There was an error while loading.Please reload this page.
ae3b09c to82ff3a5Comparechalasr commentedDec 22, 2024
Thank you@natewiebe13. |
78f4d9a intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
… (Nate Wiebe)This PR was merged into the 7.3 branch.Discussion----------[Security] Add docs for `is_granted_for_user()` functionFixes#20489Adds docs for new twig function:*symfony/symfony#59129Commits-------e1c23c7 Add docs for is_granted_for_user() function
Twig function to accompany#48142