Skip to content

[Security] Support union type for #[CurrentUser] attribute #61204

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
Jul 25, 2025

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Jul 22, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #...
License MIT

Currently #[CurrentUser] User1|User2 $user doesn't work.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Let's add a line in the changelog and GTM

@OskarStark OskarStark changed the title [Security] Support unionType for CurrentUser [Security] Support union type for #[CurrentUser] attribute Jul 24, 2025
@fabpot fabpot force-pushed the unionTypeUserResolver branch from 3205824 to 870fa69 Compare July 25, 2025 05:13
@fabpot
Copy link
Member

fabpot commented Jul 25, 2025

Thank you @VincentLanglet.

@fabpot fabpot merged commit edae79d into symfony:7.4 Jul 25, 2025
8 of 11 checks passed
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy