Feature #24621
Constrict resources showed by ResourceSwitcher to a custom scope
Description
Resource switcher shows by default all resources. There might be cases when we want switchable BreadcrumbBar, but only for a subset of resources.
Use case:
foreman_openscap has 'Compliance host' page, where information about policies is displayed, but not all hosts are configured with a policy. The page is not relevant for hosts without policy and ResourceSwitcher should not suggest these hosts. I would like to limit what hosts ResourceSwitcher shows by a search query.
Associated revisions
History
#1
Updated by The Foreman Bot 6 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5949 added
#2
Updated by Tomáš Strachota 6 months ago
- Fixed in Releases 1.20.0 added
#3
Updated by Ondřej Pražák 6 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset aceac7e145227ab41ecdd3e06b2b7d3e7ef9be56.
Fixes #24621 - Use custom scope in ResourceSwitcher