Merge pull request #14198 from jumpserver/pr@dev@saml

perf: Bind user group support str
pull/14200/head
ZhaoJiSen 2 months ago committed by GitHub
commit f2ccb15101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -247,6 +247,9 @@ def bind_user_to_org_role(user):
def bind_user_to_group(org_ids, group_names, user):
if isinstance(group_names, str):
group_names = [group_names]
if not isinstance(group_names, list):
return

Loading…
Cancel
Save