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}')