kibana/x-pack/platform
James Gowdy 51ab081e94
[ML] Fixing permission to view ML nodes (#215503)
When setting the `canViewMlNodes`, we were assuming a serverless
environment based on whether all ML features (ad, dfa, nlp) were
enabled. When this was originally implemented no serverless project had
all three features enabled.
Since then the security project has
[changed](https://github.com/elastic/kibana/pull/175358) to include all
three features.

This PR add an explicit check for serverless and disables
`canViewMlNodes` if it is true.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-24 23:07:02 +02:00
..
packages fix(security): topologically sort composable feature privileges before composing actions (#211035) 2025-03-24 15:09:36 +02:00
plugins [ML] Fixing permission to view ML nodes (#215503) 2025-03-24 23:07:02 +02:00