|
|
@@ -20,7 +20,7 @@
|
|
|
from desktop import conf
|
|
|
from desktop.auth.backend import is_admin
|
|
|
from desktop.conf import APP_SWITCHER_ALTUS_BASE_URL, APP_SWITCHER_MOW_BASE_URL, DISPLAY_APP_SWITCHER, IS_K8S_ONLY, IS_MULTICLUSTER_ONLY, \
|
|
|
- USE_DEFAULT_CONFIGURATION, USE_NEW_SIDE_PANELS, VCS, ENABLE_GIST
|
|
|
+ USE_DEFAULT_CONFIGURATION, USE_NEW_SIDE_PANELS, VCS, ENABLE_GIST, ENABLE_LINK_SHARING
|
|
|
from desktop.models import hue_version, _get_apps, get_cluster_config
|
|
|
|
|
|
from beeswax.conf import DOWNLOAD_BYTES_LIMIT, DOWNLOAD_ROW_LIMIT, LIST_PARTITIONS_LIMIT
|
|
|
@@ -104,6 +104,7 @@
|
|
|
window.AUTO_UPLOAD_OPTIMIZER_STATS = '${ OPTIMIZER.AUTO_UPLOAD_STATS.get() }' === 'True';
|
|
|
|
|
|
window.HAS_GIST = '${ ENABLE_GIST.get() }' === 'True';
|
|
|
+ window.HAS_LINK_SHARING = '${ ENABLE_LINK_SHARING.get() }' === 'True';
|
|
|
|
|
|
## In the past was has_workload_analytics()
|
|
|
window.HAS_WORKLOAD_ANALYTICS = '${ ENABLE_QUERY_ANALYSIS.get() }' === 'True';
|