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

Disable certain filters for certain users #2229

Open
winged opened this issue Jun 17, 2024 · 0 comments
Open

Disable certain filters for certain users #2229

winged opened this issue Jun 17, 2024 · 0 comments

Comments

@winged
Copy link
Contributor

winged commented Jun 17, 2024

Some of the filters in Caluma are quite slow / resource hungry. Especially the ones evaluating JEXL in QUERY requests:

  • Question.visibleInDocument
  • QuestionOption.visibleInDocument

We should create some functionality to restrict queries depending on who's sending the request. Similar to the visibility layer, but for access to filters (Or also other GQL structures, like too-big queries etc).

We already do have some structure in place to catch these things in the form of the SuppressIntrospection validator, so it should not be too hard.

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

No branches or pull requests

1 participant