mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Profiling] Space-specific feature privileges (#154734)
This commit is contained in:
parent
2f46929805
commit
2f001a2f8d
2 changed files with 31 additions and 28 deletions
|
@ -17,13 +17,13 @@ export const PROFILING_FEATURE = {
|
|||
}),
|
||||
order: 1200,
|
||||
category: DEFAULT_APP_CATEGORIES.observability,
|
||||
app: ['kibana'],
|
||||
catalogue: [],
|
||||
app: [PROFILING_SERVER_FEATURE_ID, 'ux', 'kibana'],
|
||||
catalogue: [PROFILING_SERVER_FEATURE_ID],
|
||||
// see x-pack/plugins/features/common/feature_kibana_privileges.ts
|
||||
privileges: {
|
||||
all: {
|
||||
app: ['kibana'],
|
||||
catalogue: [],
|
||||
app: [PROFILING_SERVER_FEATURE_ID, 'ux', 'kibana'],
|
||||
catalogue: [PROFILING_SERVER_FEATURE_ID],
|
||||
savedObject: {
|
||||
all: [],
|
||||
read: [],
|
||||
|
@ -31,13 +31,13 @@ export const PROFILING_FEATURE = {
|
|||
ui: ['show'],
|
||||
},
|
||||
read: {
|
||||
app: ['kibana'],
|
||||
catalogue: [],
|
||||
app: [PROFILING_SERVER_FEATURE_ID, 'ux', 'kibana'],
|
||||
catalogue: [PROFILING_SERVER_FEATURE_ID],
|
||||
savedObject: {
|
||||
all: [],
|
||||
read: [],
|
||||
},
|
||||
ui: [],
|
||||
ui: ['show'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue