Skip to content

Guard support #62

@UFOMelkor

Description

@UFOMelkor

The service-bus has two plugins to support authorization, the RouteGuard and the FinalizeGuard.
Both rely on a simple interface AuthorizationService.

Any thoughts about …

  • … adding a AuthorizationService adapter for Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
  • … allowing to enable each guard for each message-bus per configuration
  • … adding an (optional) event listener to convert Prooph\ServiceBus\Plugin\Guard\UnauthorizedException into Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException if it is not caught in the controller.

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