Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Security][Profiler] Display the original expression in 'Access decision log'#26273
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
e4f3ae7 toc2d42aeComparestof commentedFeb 22, 2018
I suggestalso adding my patch from#24127 (comment) (the second one), to use We might even consider this as a bugfix. |
| {{decision.attributes|first }} | ||
| {%setfirst=decision.attributes|first %} | ||
| {%iffirst.expressionisdefined %} | ||
| Expression: <code><pre>{{first.expression }}</pre></code> |
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.
should be<pre><code></code></pre> as<code> is an inline element while<pre> is a block element.
c2d42ae toafcd558Comparelyrixx commentedFeb 22, 2018
@stof I addressed your comments. |
fabpot commentedFeb 25, 2018
Looks like a bug fix to me, no? |
afcd558 to8f16c2eComparelyrixx commentedFeb 28, 2018
I have rebased my branch onto 3.4, and changed the base branch for this PR in order to merge it as a bug fix. |
edited
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedMar 19, 2018
Thank you@lyrixx. |
…ccess decision log' (lyrixx)This PR was merged into the 3.4 branch.Discussion----------[Security][Profiler] Display the original expression in 'Access decision log'| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#24127| License | MIT| Doc PR |---before:after:Commits-------8f16c2e [Security][Profiler] Display the original expression in 'Access decision log'
Uh oh!
There was an error while loading.Please reload this page.
before:
after: