Skip to content

Commit

Permalink
fix: update managemnet group member add template (#2503)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu327 committed Jan 26, 2024
1 parent eae52d8 commit e6f5b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saas/backend/api/management/v2/views/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def create(self, request, *args, **kwargs):
self.group_check_biz.check_member_count(group.id, len(members))

# 检查人员模版是否在role的授权范围内
self.group_check_biz.check_subject_template(request.role, subject_template_ids)
self.group_check_biz.check_subject_template(role, subject_template_ids)

if members:
# 添加成员
Expand Down

0 comments on commit e6f5b88

Please sign in to comment.