mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Create privilege action to allow for decrypted telemetry payload (#96571)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
55f3b8975e
commit
dc8786604a
2 changed files with 497 additions and 422 deletions
File diff suppressed because it is too large
Load diff
|
@ -105,6 +105,7 @@ export function privilegesFactory(
|
|||
all: [
|
||||
actions.login,
|
||||
actions.version,
|
||||
actions.api.get('decryptedTelemetry'),
|
||||
actions.api.get('features'),
|
||||
actions.space.manage,
|
||||
actions.ui.get('spaces', 'manage'),
|
||||
|
@ -113,7 +114,12 @@ export function privilegesFactory(
|
|||
actions.ui.get('enterpriseSearch', 'all'),
|
||||
...allActions,
|
||||
],
|
||||
read: [actions.login, actions.version, ...readActions],
|
||||
read: [
|
||||
actions.login,
|
||||
actions.version,
|
||||
actions.api.get('decryptedTelemetry'),
|
||||
...readActions,
|
||||
],
|
||||
},
|
||||
space: {
|
||||
all: [actions.login, actions.version, ...allActions],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue