8000 Passing more than one Security attribute to "Symfony\Component\Security\Core\Authorization\AccessDecisionManager::decide()" is not supported. · Issue #36280 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content 8000
Passing more than one Security attribute to "Symfony\Component\Security\Core\Authorization\AccessDecisionManager::decide()" is not supported. #36280
Closed
@Shoplifter

Description

@Shoplifter

Symfony version(s) affected: 5.0.7

Description
I just updated from 5.0.6 to 5.0.7 and now I'm running into this Exception after Log in. That happens only when in dev environment. It also does not happen if the access control lists only one role.
For example, when


        - { path: "^/admin/", roles: [ROLE_ADMIN, ROLE_PROJECTMANAGER, ROLE_ASSISTANT, ROLE_ACCOUNTANT] }
        - { path: "^/kunden/", roles: [ROLE_CLIENT] }

everything's fine for clients, but not for admins

symfony

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