We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b310b48 commit bd588ffCopy full SHA for bd588ff
x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts
@@ -18,6 +18,10 @@ export function disableUICapabilitiesFactory(
18
logger: Logger,
19
authz: AuthorizationServiceSetup
20
) {
21
+ // nav links are sourced from two places:
22
+ // 1) The `navLinkId` property. This is deprecated and will be removed (https://github.com/elastic/kibana/issues/66217)
23
+ // 2) The apps property. The Kibana Platform associates nav links to the app which registers it, in a 1:1 relationship.
24
+ // This behavior is replacing the `navLinkId` property above.
25
const featureNavLinkIds = features
26
.flatMap((feature) => [feature.navLinkId, ...feature.app])
27
.filter((navLinkId) => navLinkId != null);
0 commit comments