Skip to content

[Uptime] Only register route in side nav if uptime show capability is true#101709

Merged
shahzad31 merged 3 commits intoelastic:masterfrom
shahzad31:uptime-route-security
Jun 9, 2021
Merged

[Uptime] Only register route in side nav if uptime show capability is true#101709
shahzad31 merged 3 commits intoelastic:masterfrom
shahzad31:uptime-route-security

Conversation

@shahzad31
Copy link
Contributor

Summary

Fix #101513

@shahzad31 shahzad31 changed the title [Uptime] Only register route if uptime show capability is true [Uptime] Only register route in side nav if uptime show capability is true Jun 9, 2021
@shahzad31 shahzad31 self-assigned this Jun 9, 2021
@shahzad31 shahzad31 added release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v8.0.0 labels Jun 9, 2021
@shahzad31 shahzad31 marked this pull request as ready for review June 9, 2021 09:46
@shahzad31 shahzad31 requested a review from a team as a code owner June 9, 2021 09:46
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
uptime 1.1MB 1.1MB +4.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
uptime 20.0KB 20.3KB +283.0B

History

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

cc @shahzad31

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smoke testing

I made a space with Uptime disabled; on master, I could see the Uptime app still:

image

On your branch:

image

LGTM!

@botelastic botelastic bot added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Jun 9, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@shahzad31 shahzad31 added the auto-backport Deprecated - use backport:version if exact versions are needed label Jun 9, 2021
@shahzad31 shahzad31 merged commit 96c684c into elastic:master Jun 9, 2021
@shahzad31 shahzad31 deleted the uptime-route-security branch June 9, 2021 15:37
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 9, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Jun 9, 2021
… true (#101709) (#101789)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 9, 2021
* master:
  clarify which parts of TM are experimental (elastic#101757)
  Add sh scripts with _bulk_action route usage examples (elastic#101736)
  [Uptime] Only register route in side nav if uptime show capability is true (elastic#101709)
  Use KIBANA_DOCS in doc link service (elastic#101667)
  [Alerting][Event log] Persisting duration information for active alerts in event log (elastic#101387)
  Address design issues in Discover/Graph (elastic#101584)
  Optimize performance for document table (elastic#101715)
  Change file data visualizer links to point to new location in home application (elastic#101393)
  [Fleet] Tighten policy permissions, take II (elastic#97366)
  [ML] Add debounce to the severity control update  (elastic#101581)
  [Fleet] Fix routing issues with `getPath` and `history.push` (elastic#101658)
  [APM] Add link-to/transaction route (elastic#101731)
  [Index Patterns] Runtime fields CRUD REST API  (elastic#101164)
  [ILM] Refactor types and fix missing aria labels (elastic#101518)
  [Lens] New summary row feature for datatable (elastic#101075)
  Blocks save event filter with a white space name (elastic#101599)
  Improve security server types (elastic#101661)
  [APM] Replace side nav with tabs on Settings page (elastic#101460)
  [APM] Only register items in side nav if user has permissions to see app (elastic#101707)
  [Security solution][Endpoint] Add back button when to the event filters list (elastic#101280)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.14.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Uptime/UX] Solution navigation: Restricted permissions to view app should be reflected in the navigation options

4 participants