mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
## Summary - [x] Allow plugins to configure a description subtext underneath kibana features - [x] Allow plugins to configure a description subtext underneath kibana subfeatures - [x] Adjusts subfeature form UI so privilege buttons have fullwidth, adjusts padding/margins - [x] Adds unit tests # Screen Shots <img width="752" alt="image" src="https://user-images.githubusercontent.com/56409205/211621510-83769516-4a04-4442-8d96-92f5b6708a45.png"> Privilege button group before  Privilege button group after <img width="666" alt="image" src="https://user-images.githubusercontent.com/56409205/211621622-36b7a388-f1f5-4cb4-810d-48adbf7f0155.png"> Example to test: 1. In `x-pack/plugins/security_solution/server/features.ts` before `privilegeGroups` on line 254, add `description: 'some subfeature description here'` and before `management` on line 551, add `description: 'some feature description here'`. 3. Stack Management > Roles > edit Kibana Privileges > Security > Security see descriptions show up underneath Security and underneath Endpoint List sub feature |
||
---|---|---|
.. | ||
__snapshots__ | ||
feature_privilege_iterator | ||
routes | ||
feature_registry.test.ts | ||
feature_registry.ts | ||
feature_schema.ts | ||
index.ts | ||
mocks.ts | ||
oss_features.test.ts | ||
oss_features.ts | ||
plugin.test.ts | ||
plugin.ts | ||
types.ts | ||
ui_capabilities_for_features.test.ts | ||
ui_capabilities_for_features.ts |