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

Appearance settings

[Security] Fixed PUBLIC_ACCESS in authenticated sessions #37031

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

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented May 31, 2020

Q A
Branch? 5.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Found while testing scheb/2fa#8, sorry for not spotting it before the stable release 😞

Currently, authenticated users are denied access for pages that have PUBLIC_ACCESS set, as this attribute is only checked when no token was set. It should be checked for both cases.

Currently, authenticated users are denied access for pages that have
PUBLIC_ACCESS, as this attribute is only checked when no token was set.
@wouterj wouterj force-pushed the bugfix/public-access-while-authenticated branch from 21c7a5a to 0ac530f Compare May 31, 2020 21:42
@fabpot
Copy link
Member

fabpot commented Jun 1, 2020

Thank you @wouterj.

@fabpot fabpot merged commit e5b5d9e into symfony:5.1 Jun 1, 2020
@wouterj wouterj deleted the bugfix/public-access-while-authenticated branch June 1, 2020 07:36
@fabpot fabpot mentioned this pull request Jun 12, 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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.