Skip to content

[ON HOLD] ListAction. Filters whitelist doesn't works for nested filters #13

Description

@stavichenko

All filters should be whitelisted via "filters" option. But it doesn't work for nested filters. Assume we have "User" entity that has many-to-one association with "City" entity that has fields "name" and "country". If we whitelist "city" filter for user list endpoint all nested filters will be available regardless to filters whitelisted for cities list endpoint. So next filters will work: "city", "city.name", "city.country". And this behavior doesn't match default behavior for plain filters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions