Skip to content

[Security] Clarify the purpose of access denied handler (and entry point) #14045

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

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Aug 9, 2020

There is some confusion about the AccessDeniedHandler - mostly due to the way we've documented it. This PR tries to fix it by documenting what the AccessDeniedHandler is doing, how the other cases can be catched (using an entry point) and how you can catch all access denied exceptions (using an exception listener).

@wouterj
Copy link
Member Author

wouterj commented Oct 4, 2020

Thanks for the review @javiereguiluz and @noniagriconomie! I somehow thought this PR was already finished... it should be finished now :)

Copy link
Contributor

@noniagriconomie noniagriconomie left a comment

Choose a reason for hiding this comment

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

small comments :)

@wouterj wouterj force-pushed the security/access-denied branch from ba824f7 to 3892e26 Compare October 15, 2020 22:15
@wouterj
Copy link
Member Author

wouterj commented Oct 15, 2020

Thanks for the detailed reviews! PR is updated :)

@wouterj wouterj merged commit 2cd9032 into symfony:4.4 Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants