From f3cc54351405fd7c33591aabbb1b49456fe79cc6 Mon Sep 17 00:00:00 2001
From: Tim Kreuzer <t.kreuzer@fz-juelich.de>
Date: Mon, 17 Mar 2025 15:51:23 +0100
Subject: [PATCH] Update instructor default group

---
 jsc_custom/apihandler/workshops_manage.py | 2 +-
 jsc_custom/handler/workshop_manage.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/jsc_custom/apihandler/workshops_manage.py b/jsc_custom/apihandler/workshops_manage.py
index 471e0d1..5f40134 100644
--- a/jsc_custom/apihandler/workshops_manage.py
+++ b/jsc_custom/apihandler/workshops_manage.py
@@ -16,7 +16,7 @@ def isInstructor(entitlements=[]):
         .get("workshop", {})
         .get(
             "instructorGroup",
-            "urn:geant:dfn.de:fz-juelich.de:jsc:group:jupyter:workshop_instructors#login.jsc.fz-juelich.de",
+            "geant:dfn.de:fz-juelich.de:jsc:jupyter:workshop_instructors",
         )
     )
     if instructorGroup in entitlements:
diff --git a/jsc_custom/handler/workshop_manage.py b/jsc_custom/handler/workshop_manage.py
index f0f364f..7c51ed0 100644
--- a/jsc_custom/handler/workshop_manage.py
+++ b/jsc_custom/handler/workshop_manage.py
@@ -17,7 +17,7 @@ def isInstructor(entitlements=[]):
         .get("workshop", {})
         .get(
             "instructorGroup",
-            "urn:geant:dfn.de:fz-juelich.de:jsc:group:jupyter:workshop_instructors#login.jsc.fz-juelich.de",
+            "geant:dfn.de:fz-juelich.de:jsc:jupyter:workshop_instructors",
         )
     )
     if instructorGroup in entitlements:
-- 
GitLab