Skip to content

Is the security bundle missing in demos ? #133

@n1noT

Description

@n1noT

Hi,

It seems the security bundle is missing from the composer.json file in the demos. The following error is thrown when running composer install:

"Cannot autowire service symfony_ai.security.is_granted_attribute_listener: argument $authChecker of method Symfony\AI\AIBundle\Security\EventListener\IsGrantedToolAttributeListener::__construct() has type Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface, but this class was not found."

I fixed it by running composer require symfony/security-bundle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions