Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering List on CrudAuth #321

Closed
josepaiva94 opened this issue Nov 8, 2019 · 3 comments
Closed

Filtering List on CrudAuth #321

josepaiva94 opened this issue Nov 8, 2019 · 3 comments

Comments

@josepaiva94
Copy link

I have an entity Project with a M:M relation with User called Permissions. Permissions has user_id, project_id and role. I was able to list projects where user has a role.

Now, I want to list Exercises (1:M with Project on project_id property) where user has a role in the project they belong. I've tried several ways but I get Nest - missing FROM-clause entry for table "permissions".

Can this be achieved somehow?

@michaelyali
Copy link
Member

Sorry for the late response. Could you please provide the generated SQL?

@agravelot
Copy link

I facing the same issue.
It's probably the same #401

@michaelyali
Copy link
Member

fixed in v4.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants