Skip to content

is_granted twig reference points to deprecated functionality #13773

Closed
@tbs-trappy

Description

@tbs-trappy

is_granted is documented as supporting string[], however, according to this issue I submitted, that functionality was deprecated in Symfony 4.0. It currently only supports single inputs ("string", vs. "string, string[]")

Link:
https://symfony.com/doc/current/reference/twig_reference.html#is-granted

Discussion:
symfony/symfony#37132

Metadata

Metadata

Assignees

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