Team:Coregood first issue
Metriche repository
- Star
- (19.065 star)
- Metriche merge PR
- (Merge medio 1g 16h) (999 PR mergiate in 30 g)
Descrizione
In https://github.com/elastic/kibana/pull/202863#discussion_r1923664248 the registry had to be changed to accommodate replacing disabled privileges with disabled privileges, but this surfaced the fact that the existing test cases miss coverage for the following privilege replacement scenarios:
- Disabled → Disabled privilege replacement
- Disabled → Enabled privilege replacement
We currently only test that Enabled → Disabled is prevented
Tests are located in x-pack/platform/plugins/shared/features/server/feature_registry.test.ts