feat: add org user by id requires su
Part of the "sensical user adding" changes.
This commit is contained in:
parent
62c43ce883
commit
e9fe405e06
3 changed files with 23 additions and 22 deletions
|
|
@ -292,8 +292,9 @@ async def get_users(org_model: org_model_root_claim_query_dependency):
|
|||
)
|
||||
async def add_user_to_org(
|
||||
db: db_dependency,
|
||||
org_model: org_model_root_claim_body_dependency,
|
||||
org_model: org_model_body_dependency,
|
||||
user_model: user_model_body_dependency,
|
||||
su: super_admin_dependency,
|
||||
request_model: OrgPostUserRequest,
|
||||
):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue