Skip to content

Commit

Permalink
feat:用户个人视角 权限管理优化 #11138
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Nov 15, 2024
1 parent b152ebf commit 2b1eb58
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -852,10 +852,12 @@ class RbacPermissionManageFacadeServiceImpl(
condition = ResourceAuthorizationHandoverConditionRequest(
projectCode = projectCode,
resourceType = ResourceTypeId.PIPELINE,
fullSelection = true,
filterResourceCodes = invalidPipelines,
handoverChannel = HandoverChannelCode.MANAGER,
handoverFrom = handoverMemberDTO.targetMember.id,
handoverTo = handoverMemberDTO.handoverTo.id
handoverTo = handoverMemberDTO.handoverTo.id,
checkPermission = false
)
)
}
Expand Down Expand Up @@ -999,9 +1001,11 @@ class RbacPermissionManageFacadeServiceImpl(
projectCode = projectCode,
resourceType = ResourceTypeId.PIPELINE,
filterResourceCodes = invalidPipelines,
fullSelection = true,
handoverChannel = HandoverChannelCode.MANAGER,
handoverFrom = removeMemberDTO.targetMember.id,
handoverTo = removeMemberDTO.handoverTo!!.id
handoverTo = removeMemberDTO.handoverTo!!.id,
checkPermission = false
)
)
}
Expand Down Expand Up @@ -1533,9 +1537,11 @@ class RbacPermissionManageFacadeServiceImpl(
projectCode = overview.projectCode,
resourceType = resourceType,
filterResourceCodes = authorizations.map { it.itemId },
fullSelection = true,
handoverChannel = HandoverChannelCode.MANAGER,
handoverFrom = overview.applicant,
handoverTo = overview.approver
handoverTo = overview.approver,
checkPermission = false
)
)
}
Expand Down

0 comments on commit 2b1eb58

Please sign in to comment.