Skip to content

Custom Expression Language function not working in security.yml allow_if #23208

@syrm

Description

@syrm
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.2.9

It's exactly the same problem of this issue : #21305

Except i using it in securty.yml allow_if and i got :
Error: The function "test" does not exist around position 1.

With @Security annotation everything is ok.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions