From 5b7e512c39f36420fa6440a402ed7d67cad33468 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 2 Aug 2023 06:13:10 +0300 Subject: Fix module name. --- scripts/migrate_existing_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/migrate_existing_data.py b/scripts/migrate_existing_data.py index 427dc34..3e0a250 100644 --- a/scripts/migrate_existing_data.py +++ b/scripts/migrate_existing_data.py @@ -17,7 +17,7 @@ from gn3 import db_utils as biodb from gn3.auth import db as authdb from gn3.auth.authentication.users import User from gn3.auth.authorisation.groups.models import Group, save_group -from gn3.auth.roles.models import ( +from gn3.auth.authorisation.roles.models import ( revoke_user_role_by_name, assign_user_role_by_name) from gn3.auth.authorisation.resources.models import ( Resource, ResourceCategory, __assign_resource_owner_role__) -- cgit v1.2.3