From e24de07a812c05c4263f7db8e11add2bc46b397b Mon Sep 17 00:00:00 2001 From: James Tanner Date: Wed, 4 Oct 2023 15:08:35 -0400 Subject: [PATCH] checkin --- dev/scripts.commnunity/fix_social_users.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/scripts.commnunity/fix_social_users.py b/dev/scripts.commnunity/fix_social_users.py index 035097334d..477c03634b 100644 --- a/dev/scripts.commnunity/fix_social_users.py +++ b/dev/scripts.commnunity/fix_social_users.py @@ -3,6 +3,7 @@ from galaxy_ng.app.utils import rbac from galaxy_ng.app.utils.galaxy import generate_unverified_email +from galaxy_ng.app.api.v1.models import LegacyNamespace User = get_user_model() @@ -65,3 +66,7 @@ # does the synced user have content? namespaces = rbac.get_owned_v3_namespaces(synced_user) print(f'\t{synced_user.id} owns {namespaces}') + + # legacy namespaces ... ? + legacy_namespace = LegacyNamespace.objects.filter(name=github_login).first() + print(f't\legacy_namespace:{legacy_namespace}')