Skip to content

Commit

Permalink
feat:OP后台访问镜像管理组件信息,去掉权限校验 TencentBlueKing#11362
Browse files Browse the repository at this point in the history
  • Loading branch information
Kzhou991 committed Jan 2, 2025
1 parent 87c8e8e commit 5eecd9e
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,19 +196,6 @@ abstract class ImageService @Autowired constructor() {
interfaceName: String? = "Anon interface"
): Result<Page<ImageDetail>> {
logger.info("$interfaceName:getImageVersionListByCode:Input:($userId,$imageCode,$page,$pageSize)")
// // 判断当前用户是否是该镜像的成员
// if (!storeMemberDao.isStoreMember(
// dslContext = dslContext,
// userId = userId,
// storeCode = imageCode,
// storeType = StoreTypeEnum.IMAGE.type.toByte()
// )
// ) {
// throw ErrorCodeException(
// errorCode = GET_INFO_NO_PERMISSION,
// params = arrayOf(imageCode)
// )
// }
// 参数校验
val validPage = PageUtil.getValidPage(page)
// 默认拉取所有
Expand Down

0 comments on commit 5eecd9e

Please sign in to comment.