8000 Advice to use deprecated function in isGranted()/decide() on multi attribute deprecation message · Issue #35437 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Advice to use deprecated function in isGranted()/decide() on multi attribute deprecation message #35437
Closed
@MisatoTremor

Description

@MisatoTremor

Symfony version(s) affected: 4.4

Description
The deprecation message in isGranted()/decide() when called with more than one attribute advices to use the has_role(...) function for expressions, which itself has been deprecated since 4.2

How to reproduce
Call isGranted() with multiple attributes

Possible Solution
Advise to use is_granted(...) instead.

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

      0