Skip to content

[7.x] [Uptime] Add Settings Page (#53550)#60869

Merged
andrewvc merged 2 commits intoelastic:7.xfrom
andrewvc:backport/7.x/pr-53550
Mar 22, 2020
Merged

[7.x] [Uptime] Add Settings Page (#53550)#60869
andrewvc merged 2 commits intoelastic:7.xfrom
andrewvc:backport/7.x/pr-53550

Conversation

@andrewvc
Copy link
Contributor

Backports the following commits to 7.x:

Adds a settings page to the Uptime UI. The settings page values are per-space. The only current setting is heartbeatIndices.

To test this against alternate indices try changing setup.ilm.rollover_alias in heartbeat.yml to something like alt-prefix. See the ilm docs for more details.

This should be tested with read-only and write only roles. To test this in kibana try creating two users with two different roles in kibana. One roll should have read access to the Uptime space in kibana. The other should have all access. Both should have read permissions for the heartbeat-* index pattern.

This patch also splits API perms from just heartbeat to uptime-read and uptime-write.

This patch also refactors some of the header component functionality, using hooks for breadcrumbs, and making the top links optional.

Fixes elastic/uptime#43
@andrewvc andrewvc added the backport This PR is a backport of another PR label Mar 22, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@andrewvc andrewvc merged commit c14c552 into elastic:7.x Mar 22, 2020
@andrewvc andrewvc deleted the backport/7.x/pr-53550 branch March 22, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants