Skip to content

Commit

Permalink
feat: 未限制仓库修改权限 TencentBlueKing#2004
Browse files Browse the repository at this point in the history
  • Loading branch information
owenlxu committed Jun 17, 2024
1 parent fbe774c commit c15add9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ class DevopsPermissionServiceImpl constructor(

private fun checkRepoOrNodePermission(request: CheckPermissionRequest): Boolean {
with(request) {
if (action == MANAGE.name) {
logger.debug("project request need manage permission [$request]")
return false
}
when (repoName) {
CUSTOM, LOG -> {
return checkDevopsCustomPermission(request)
Expand Down

0 comments on commit c15add9

Please sign in to comment.