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

Ignoring fluent filtering for specific routes #709

Open
knirb opened this issue May 17, 2021 · 2 comments
Open

Ignoring fluent filtering for specific routes #709

knirb opened this issue May 17, 2021 · 2 comments

Comments

@knirb
Copy link

knirb commented May 17, 2021

I'm using the FluentIsolatedExtension with DataObjects to create a view in the admin-panel that allows you to only see the DataObjects that are relevant to your locale. I would however like to be able to access all objects through graphql/any other route. Is there a way to tell fluent to ignore the filtering for some route somehow?

@tractorcow
Copy link
Collaborator

Yes that's a good idea; I had previously added filtering ignoring for specific admin routes, but I really should have an explicit "disabled" flag. Maybe one that you can flag on/off with a middleware?

@tractorcow
Copy link
Collaborator

f5c8dce

Let's just add another flag here, (static var with a getter / setter instead of config I think).

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

2 participants