docs: public void configureIncidentQuery(IncidentQueryImpl query) {
      configureQuery(query);
      CompositePermissionCheck permissionCheck = new PermissionCheckBuilder()
              .disjunctive()
              .atomicCheck(PROCESS_INSTANCE, "RES.PROC_INST_ID_", READ)
              .atomicCheck(PROCESS_DEFINITION, "PROCDEF.KEY_", READ_INSTANCE)
              .build();
      addPermissionCheck(query.getAuthCheck(), permissionCheck);
    }