Skip to content

[Security] Added target user to SwitchUserListener #9095

Closed
@javiereguiluz

Description

@javiereguiluz

This adds the target user to the SwitchUserListener's accessDecisionManager->decide() call as the $object parameter to give any registered voters extra information.

See symfony/symfony#25092

Metadata

Metadata

Assignees

No one assigned

    Labels

    SecurityhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions