From 1f3bfd51a1f70bf3d66e398226eb7447d066837c Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Thu, 22 Aug 2024 12:49:01 +0100 Subject: [PATCH] Do not let us guess the primary group --- egi_notebooks_hub/egiauthenticator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egi_notebooks_hub/egiauthenticator.py b/egi_notebooks_hub/egiauthenticator.py index 57228e7..fa1fa95 100644 --- a/egi_notebooks_hub/egiauthenticator.py +++ b/egi_notebooks_hub/egiauthenticator.py @@ -388,7 +388,7 @@ class EOSCNodeAuthenticator(EGICheckinAuthenticator): def get_primary_group(self, user_info): # first group is the personal project, which is different for every user - # if not available call super() + # if not available return None for g in user_info.get("groups", []): m = re.match(self.personal_project_re, g) if m: @@ -396,4 +396,4 @@ def get_primary_group(self, user_info): return m.groups()[0] else: return g - return super().get_primary_group(user_info) + return None