Skip to content

Possibility to read vote message #61664

@silvandre95

Description

@silvandre95

Description

Hello!

Since now there is the possibility to configure vote messages, it would be interesting to be able to read them when using the AuthorizationCheckerInterface.

For now we can do $authChecker->isGranted('update', $user); but what we get from here is a boolean. Can we have a $authChecker->getMessage() for example?

Thanks

Example

No response

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