Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Sep 29, 2022
1 parent c564765 commit a99756b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ Please update the settings according to your deployment: /controlpanel/volto_sea

## TODOs

### Request to Elasticsearch via Plone for security check



### Configurable filters, etc

- which filters should be available.
Expand Down
2 changes: 2 additions & 0 deletions src/components/Searchkit/CustomESResponseSerializer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export class CustomESResponseSerializer {
}

_getAllowedHits(hits) {
// TODO Do security check for array not check for each single item of array

// return promise with array ot Promises. all of them resolve to Object(hit,status)
const auth_token = getAuthToken();
let listOfPromises = hits.map((hit) => {
Expand Down

0 comments on commit a99756b

Please sign in to comment.