Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedFeb 4, 2021
Hey! I see that this is your first PR. That is great! Welcome! Symfony has acontribution 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 |
carsonbot commentedFeb 4, 2021
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 |
nicolas-grekas commentedFeb 4, 2021
That's for 4.4 I suppose? symfony/src/Symfony/Component/Security/Core/Authorization/Voter/ExpressionVoter.php Lines 116 to 132 in8bd81b5
|
wickedOne commentedFeb 4, 2021 • 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.
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 |
wouterj commentedFeb 4, 2021
If I'm correct, both And we indeed need to add the missing vars to the documentation as well. |
wickedOne commentedFeb 4, 2021
ok, i'll update this one and change the base to 4.4 |
nicolas-grekas commentedFeb 4, 2021
This PR targetting 4.4 would be enough as we'll be able to adjust for 5.2 when merging up. |
wickedOne commentedFeb 4, 2021 • 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.
updated and changed target |
stof commentedFeb 4, 2021
IIRC, |
replaced the roles variable with role_names in order to fix cache warmingfixessymfony#40087
nicolas-grekas left a comment
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 removedauth_checker.
nicolas-grekas commentedFeb 4, 2021
Thank you@wickedOne. |
…ression language variable (javiereguiluz)This PR was merged into the 4.4 branch.Discussion----------[ExpressionLanguage][Security] Mention the "subject" expression language variableThis was requested insymfony/symfony#40089By 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
Uh oh!
There was an error while loading.Please reload this page.
replaced the roles variable with role_names in order to fix cache warming
introduced @d64372d