mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Make indexPattern only read only in Discover permission (#108376)
* Make indexPattern only read only in Discover permission * Fix test failures * Address review comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
f243b0540d
commit
6f4a615860
8 changed files with 74 additions and 22 deletions
|
@ -694,11 +694,12 @@ Array [
|
|||
"all": Array [
|
||||
"search",
|
||||
"query",
|
||||
"index-pattern",
|
||||
"url",
|
||||
"search-session",
|
||||
],
|
||||
"read": Array [],
|
||||
"read": Array [
|
||||
"index-pattern",
|
||||
],
|
||||
},
|
||||
"ui": Array [
|
||||
"show",
|
||||
|
@ -1223,11 +1224,12 @@ Array [
|
|||
"all": Array [
|
||||
"search",
|
||||
"query",
|
||||
"index-pattern",
|
||||
"url",
|
||||
"search-session",
|
||||
],
|
||||
"read": Array [],
|
||||
"read": Array [
|
||||
"index-pattern",
|
||||
],
|
||||
},
|
||||
"ui": Array [
|
||||
"show",
|
||||
|
|
|
@ -40,8 +40,8 @@ export const buildOSSFeatures = ({
|
|||
api: ['fileUpload:analyzeFile'],
|
||||
catalogue: ['discover'],
|
||||
savedObject: {
|
||||
all: ['search', 'query', 'index-pattern'],
|
||||
read: [],
|
||||
all: ['search', 'query'],
|
||||
read: ['index-pattern'],
|
||||
},
|
||||
ui: ['show', 'save', 'saveQuery'],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue