caluma icon indicating copy to clipboard operation
caluma copied to clipboard

Disable certain filters for certain users

Open winged opened this issue 8 months ago • 0 comments

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.

winged avatar Jun 17 '24 11:06 winged