Open peteharverson opened 2 days ago
Pinging @elastic/ml-ui (:ml)
Note that a change point detection panel can be successfully created even when the ML feature is not available. However seeing as the AIOps Labs page is not available when ML is None
, I'm thinking it should probably be hidden too. Any thoughts @darnautov ?
However seeing as the AIOps Labs page is not available when ML is None, I'm thinking it should probably be hidden too
yes, that makes sense! I presume this bug appeared after migration to a new embeddable system. Perhaps the check for registering UI actions should verify that the anomaly detection feature is enabled.
The Machine Learning panel types are shown on the Dashboard 'Add panel' menu (or the new flyout-based UX) even when the ML feature privilege is
None
for the current space.If you then try to create one of the anomaly panel types, you see an error in the configuration flyout when the request is made to get the list of available jobs:
We should check the ML capabilities when registering each embeddable type, and then check it at run time (if possible), rather than give the impression that these panel types are available.