Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Fixed PUBLIC_ACCESS in authenticated sessions #37031

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.

None yet

3 participants