Skip to content

CrudAuth cross table filter #712

@andrei9669

Description

@andrei9669

Hello, I have been using this library, and loving it, for some time and finally got to implementing the auth part. but I have a problem with the auth filter.
Here's the table structure.

user user_clients_client client sensor
id id id id
user_id client_id
client_id

in the @CrudAuth() only thing that I get, and is usable, is id.
How could I filter sensors based on what clients the user has?

I'm doing the request to the sensor table.

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