Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] TraceableAccessDecisionManager: fix inspecting voters of custom access decision managers#47817

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

Merged
chalasr merged 1 commit intosymfony:6.2fromsarbanha:patch-2
Oct 11, 2022

Conversation

@sarbanha
Copy link
Contributor

QA
Branch?6.1
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix #...
LicenseMIT
Doc PRsymfony/symfony-docs#...

Removed the "if" statement that verifies if the ADM is instance of AccessDecisionManager.

This control breaks profiler when it is trying to browse "Security" tab while a custom ADM was developed. The reason is that the "if" statement prevents SecurityDataCollector.php to retrieve the strategy and the list of voters.

Based on my tests this modification doesn't affect the regular functionality of security-core.

Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not a bug per se though, I'd say this should be merged in 6.2.

@sarbanha
Copy link
ContributorAuthor

Not a bug per se though, I'd say this should be merged in 6.2.

I couldn't decide initially if it should be suggested as a bug or feature, but it looks more like an improvement. Do you think I should create another PR for 6.2 too?

I think it has been said that merges to older tags would be merged to newer ones in a few days.

@chalasr
Copy link
Member

No worry, we can switch the branch while merging this PR.

sarbanha reacted with thumbs up emoji

@derrabusderrabus modified the milestones:6.1,6.2Oct 10, 2022
Copy link
Member

@derrabusderrabus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍🏻 for 6.2

sarbanha reacted with thumbs up emoji
@carsonbotcarsonbot changed the title[TraceableAccessDecisionManager] fixed voter enumerations[Security] [TraceableAccessDecisionManager] fixed voter enumerationsOct 10, 2022
@derrabusderrabus changed the title[Security] [TraceableAccessDecisionManager] fixed voter enumerations[Security] TraceableAccessDecisionManager: fix inspecting voters of custom access decision managersOct 10, 2022
@chalasrchalasr changed the base branch from6.1 to6.2October 11, 2022 11:20
@chalasr
Copy link
Member

Thank you@sarbanha.

@chalasrchalasr merged commit1337ea2 intosymfony:6.2Oct 11, 2022
@fabpotfabpot mentioned this pull requestOct 24, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@derrabusderrabusderrabus approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

4 participants

@sarbanha@chalasr@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp