kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[Lens] Disabled Lens embeddables' actions

Open angorayc opened this issue 3 years ago • 3 comments

Summary

  • Emneddable actions can be disabled.

Use cases: In Security Solution, we check users' permission before rendering Add to new case and Add to existing case action, disabled the option if users has no right to create / edit cases. https://github.com/elastic/kibana/pull/137882

Screenshot 2022-08-08 at 16 00 49

Checklist

Delete any items that are not applicable to this PR.

angorayc avatar Aug 08 '22 15:08 angorayc

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

elasticmachine avatar Aug 09 '22 12:08 elasticmachine

Hey, thanks for your contribution! I opened a PR for isDestroyed thing already here: https://github.com/elastic/kibana/pull/138368

But the disabled setting makes sense to me

flash1293 avatar Aug 09 '22 12:08 flash1293

:green_heart: Build Succeeded

Metrics [docs]

Page load bundle

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

id before after diff
uiActions 19.6KB 19.7KB +20.0B
Unknown metric groups

API count

id before after diff
uiActions 130 132 +2

History

  • :broken_heart: Build #64595 failed e69168895828f9d9662e3b9c93187f2ac1cd1f52
  • :green_heart: Build #64265 succeeded aa2fe50b970aa65bedb14caa5e863f14b78e83c5
  • :green_heart: Build #63899 succeeded 913dbf3e83ab99afec8f9565b351b2ad3770e82f
  • :green_heart: Build #63870 succeeded 2620d0b7dc0af232f386001cb40e857f4d508dec
  • :broken_heart: Build #63849 failed a5775bf0396e58596c47477cf623376e4a273e29

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

kibana-ci avatar Aug 12 '22 08:08 kibana-ci