Skip to content

Commit

Permalink
feat:流水线列表展示权限控制 #10895
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Oct 29, 2024
1 parent a55c654 commit af618bb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,8 @@ class PipelineViewGroupServiceTest : BkCiAbstractTest() {
every { pipelineViewGroupDao.countByViewId(anyDslContext(), any(), any(), any()) } returns emptyMap()
every { pipelineYamlViewDao.listViewIds(anyDslContext(), any()) } returns emptyList()
every { pipelinePermissionService.getResourceByPermission(any(), any(), any()) } returns emptyList()
every { pipelinePermissionService.isControlPipelineListPermission(any()) } returns true

every {
self["sortViews2Summary"](
any() as String,
Expand All @@ -939,6 +941,7 @@ class PipelineViewGroupServiceTest : BkCiAbstractTest() {
every { pipelineViewGroupDao.countByViewId(anyDslContext(), any(), any(), any()) } returns emptyMap()
every { pipelineYamlViewDao.listViewIds(anyDslContext(), any()) } returns emptyList()
every { pipelinePermissionService.getResourceByPermission(any(), any(), any()) } returns emptyList()
every { pipelinePermissionService.isControlPipelineListPermission(any()) } returns true
every {
self["sortViews2Summary"](
any() as String,
Expand Down

0 comments on commit af618bb

Please sign in to comment.