From 572a2af53b0b92b050fce3ba1067ed48ec530f5c Mon Sep 17 00:00:00 2001
From: Enol Fernandez <enol.fernandez@egi.eu>
Date: Fri, 2 Aug 2024 11:13:48 +0100
Subject: [PATCH] Disable context menu share link

---
 common/deployments/hub-staging.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/common/deployments/hub-staging.yaml b/common/deployments/hub-staging.yaml
index 4891546..972ef7f 100644
--- a/common/deployments/hub-staging.yaml
+++ b/common/deployments/hub-staging.yaml
@@ -132,6 +132,15 @@ singleuser:
         {
           "@jupyterlab/apputils-extension:notification": {
             "fetchNews": "false"
+          },
+          "@jupyterlab/application-extension:context-menu": {
+            "contextMenu": [
+              {
+                "command": "filebrowser:share-main",
+                "selector": ".jp-DirListing-item[data-isdir]",
+                "disabled": true
+              }
+            ]
           }
         }
 
-- 
GitLab