mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Hide management sections based on cluster/index privileges (#67791)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
ebf877b91f
commit
2e34eb239f
241 changed files with 7115 additions and 2497 deletions
|
@ -4,7 +4,7 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FeatureConfig } from '../common/feature';
|
||||
import { KibanaFeatureConfig } from '../common';
|
||||
|
||||
export interface BuildOSSFeaturesParams {
|
||||
savedObjectTypes: string[];
|
||||
|
@ -368,10 +368,10 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
},
|
||||
},
|
||||
...(includeTimelion ? [timelionFeature] : []),
|
||||
] as FeatureConfig[];
|
||||
] as KibanaFeatureConfig[];
|
||||
};
|
||||
|
||||
const timelionFeature: FeatureConfig = {
|
||||
const timelionFeature: KibanaFeatureConfig = {
|
||||
id: 'timelion',
|
||||
name: 'Timelion',
|
||||
order: 350,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue