9da18e4715
We only reach this point in the code for types where the initial authorization returned CONDITIONAL -- ALLOWs return early immediately above, and types where the decision was DENY get filtered out entirely when querying. This means the call to isResourcePermission here is mostly about narrowing the types, since the only way for it to be false is if the PermissionPolicy returned a CONDITIONAL decision for a non-resource permission, which can't happen - it would throw an error during validation in the permission-backend. Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
search-backend
This plugin is part of a suite of plugins that comprise the Backstage search platform. This particular plugin responsible for exposing a JSON API for querying a search engine.
Documentation on how to develop and improve the search platform is currently
centralized in the search plugin README.md.
For a better overview of how the search platform is put together, check the Backstage Search Architecture documentation.