Skip to content

Commit

Permalink
feat:同步并分表存储资源组权限数据 TencentBlueKing#10964
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Oct 18, 2024
1 parent d952ac4 commit 8809053
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,18 @@ class RbacPermissionResourceGroupPermissionService(
resourceType = instancePathDTOs.last().type,
iamResourceCode = instancePathDTOs.last().id
)
Triple(instancePathDTOs.last().type, relatedIamResourceCode, instancePathDTOs.last().id)
Triple(
first = instancePathDTOs.last().type,
second = relatedIamResourceCode,
third = instancePathDTOs.last().id
)
} catch (ex: Exception) {
logger.warn("convert iam code to resource code failed!|${ex.message}")
Triple(instancePathDTOs.last().type, instancePathDTOs.last().id, instancePathDTOs.last().id)
Triple(
first = instancePathDTOs.last().type,
second = instancePathDTOs.last().id,
third = instancePathDTOs.last().id
)
}
}
}
Expand Down

0 comments on commit 8809053

Please sign in to comment.