-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[SecurityBundle] role_names variable instead of roles #40089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
Hey! I did a quick review of this PR, I think most things looks good. But you have made this PR towards a branch that is not maintained anymore. :/ Cheers! Carsonbot |
That's for 4.4 I suppose? symfony/src/Symfony/Component/Security/Core/Authorization/Voter/ExpressionVoter.php Lines 116 to 132 in 8bd81b5
|
you're rigjt, both how do you suggest to proceed? fix these for the 4.4 branch and have the documentation corrected for both the 4.4 and 5.2 branch (as the |
If I'm correct, both And we indeed need to add the missing vars to the documentation as well. |
ok, i'll update this one and change the base to 4.4 |
This PR targetting 4.4 would be enough as we'll be able to adjust for 5.2 when merging up. |
updated and changed target |
IIRC, |
replaced the roles variable with role_names in order to fix cache warming fixes symfony#40087
4260def
to
58bb614
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @stof, I removed auth_checker
.
Thank you @wickedOne. |
…ression language variable (javiereguiluz) This PR was merged into the 4.4 branch. Discussion ---------- [ExpressionLanguage][Security] Mention the "subject" expression language variable This was requested in symfony/symfony#40089 By the way, in my opinion providing two different ways of doing exactly the same is always confusing. Commits ------- 4511683 Mention the "subject" expression language variable
replaced the roles variable with role_names in order to fix cache warming
introduced @ d64372d