Open markov00 opened 6 days ago
Kibana version: main, probably 8.15
Describe the bug:
The share link in Lens should be enabled only if the user has the createShortUrl privilege. This doesn't happen anymore and the new share menu always offers the ability to copy the link.
createShortUrl
This is a regression caused by https://github.com/elastic/kibana/pull/180406
The disabledShareUrl property, passed in the ShareContext of the new ShareMenu, is not considered and the link tab is always present.
disabledShareUrl
ShareContext
ShareMenu
link
Steps to reproduce:
Read
Link
Expected behavior: The share menu should respect the disabledShareUrl property and the link tab should not be visible
Pinging @elastic/appex-sharedux (Team:SharedUX)
Kibana version: main, probably 8.15
Describe the bug:
The share link in Lens should be enabled only if the user has the
createShortUrl
privilege. This doesn't happen anymore and the new share menu always offers the ability to copy the link.This is a regression caused by https://github.com/elastic/kibana/pull/180406
The
disabledShareUrl
property, passed in theShareContext
of the newShareMenu
, is not considered and thelink
tab is always present.Steps to reproduce:
Read
capabilities to Visualize LibraryLink
tab is visible (even if the button doesn't do nothing and the link is not created.Expected behavior: The share menu should respect the
disabledShareUrl
property and thelink
tab should not be visible