Skip to content

Docs: adding your own custom security logic to a route resource #133

@silverbackdan

Description

@silverbackdan

When getting a collection of routes, document how to apply security when getting a collection. But for getting a route item we add a security parameter to metadata which will be over-written if you implement your own. Document how to extend this and use the route voter by adding sprintf("is_granted('%s', object)", AbstractRoutableVoter::READ_ROUTABLE) yourself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions