[wip] search-backend: result-by-result authorization
To do: - add tests for AuthorizedSearchEngine - update router tests - add diff to changeset Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -56,6 +56,7 @@ async function createSearchEngine({
|
||||
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
permissions,
|
||||
discovery,
|
||||
config,
|
||||
database,
|
||||
@@ -95,6 +96,9 @@ export default async function createPlugin({
|
||||
|
||||
return await createRouter({
|
||||
engine: indexBuilder.getSearchEngine(),
|
||||
types: indexBuilder.getDocumentTypes(),
|
||||
permissions,
|
||||
config,
|
||||
logger,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user