PR comments

This commit is contained in:
sayali 2021-01-28 11:19:47 -08:00
parent f14a236739
commit fe2fc0eadd
2 changed files with 1 additions and 2 deletions

View File

@ -197,7 +197,6 @@ def update_user(user, profile, roles):
:param profile: :param profile:
:param roles: :param roles:
""" """
log_service.audit_log("TEST", user.name, "Edit role")
# if we get an sso user create them an account # if we get an sso user create them an account
if not user: if not user:
user = user_service.create( user = user_service.create(

View File

@ -82,7 +82,7 @@ def update_roles(user, roles):
break break
else: else:
user.roles.append(r) user.roles.append(r)
log_service.audit_log("assign_role", ur.name, f"Assigning the role to user {user.username}") log_service.audit_log("assign_role", r.name, f"Assigning the role to user {user.username}")
def get(user_id): def get(user_id):