Skip to content

Commit

Permalink
feat:用户个人视角 权限管理优化 #11138
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Dec 9, 2024
1 parent beff149 commit 27ba337
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,10 @@ class AuthResourceGroupMemberDao {
if (!excludeIamGroupIds.isNullOrEmpty()) {
// 仅排除用户直接加入的用户组
if (onlyExcludeUserDirectlyJoined == true) {
conditions.add(IAM_GROUP_ID.notIn(excludeIamGroupIds).and(MEMBER_TYPE.eq(MemberType.USER.type)))
conditions.add(IAM_GROUP_ID.`in`(excludeIamGroupIds).and(MEMBER_TYPE.eq(MemberType.USER.type)))
} else {
// 会把组织/用户/模板加入的組都排除
conditions.add(IAM_GROUP_ID.notIn(excludeIamGroupIds))
conditions.add(IAM_GROUP_ID.`in`(excludeIamGroupIds))
}
}
}
Expand Down

0 comments on commit 27ba337

Please sign in to comment.