docs: public void configureQuery(ListQueryParameterObject query) {
  
      AuthorizationCheck authCheck = query.getAuthCheck();
      authCheck.getPermissionChecks().clear();
  
      if(isAuthCheckExecuted()) {
        Authentication currentAuthentication = getCurrentAuthentication();
        authCheck.setAuthUserId(currentAuthentication.getUserId());
        authCheck.setAuthGroupIds(currentAuthentication.getGroupIds());
        enableQueryAuthCheck(authCheck);
      }
      else {
        authCheck.setAuthorizationCheckEnabled(false);
        authCheck.setAuthUserId(null);
        authCheck.setAuthGroupIds(null);
      }
    }