File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
services/web/server/src/simcore_service_webserver/groups Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 66from aiohttp import web
77from common_library .groups_enums import GroupType
88from common_library .users_enums import UserRole
9- from models_library .basic_types import IDStr
109from models_library .groups import (
1110 AccessRightsDict ,
1211 Group ,
1716 StandardGroupCreate ,
1817 StandardGroupUpdate ,
1918)
20- from models_library .users import UserID
19+ from models_library .users import UserID , UserNameID
2120from simcore_postgres_database .aiopg_errors import UniqueViolation
2221from simcore_postgres_database .models .users import users
2322from simcore_postgres_database .utils_products import get_or_create_product_group
@@ -739,7 +738,7 @@ async def add_new_user_in_group(
739738 group_id : GroupID ,
740739 # either user_id or user_name
741740 new_user_id : UserID | None = None ,
742- new_user_name : IDStr | None = None ,
741+ new_user_name : UserNameID | None = None ,
743742 access_rights : AccessRightsDict | None = None ,
744743) -> None :
745744 """
You can’t perform that action at this time.
0 commit comments