Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pref:流水线相关的文件操作人调整为流水线的权限代持人 #11016

Closed
carlyin0801 opened this issue Sep 27, 2024 · 0 comments
Closed
Assignees
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy help wanted Extra attention is needed kind/refactor 代码优化,重构 service/process 流水线 todo todo

Comments

@carlyin0801
Copy link
Collaborator

问题: 目前流水线相关的文件操作人都是流水线的最近修改人,一但流水线的最近修改人离职,用户必须重新保存流水线才能恢复正常。

措施: 流水线相关的文件操作人调整为流水线的权限代持人,避免出现重新保存流水线的情况。
获取权限代持人的方法:com.tencent.devops.auth.api.service.ServiceAuthAuthorizationResource#getResourceAuthorization

@carlyin0801 carlyin0801 added help wanted Extra attention is needed kind/refactor 代码优化,重构 area/ci/backend CI 后端issue labels Sep 27, 2024
@bkci-bot bkci-bot added the todo todo label Oct 9, 2024
@sawyersong2 sawyersong2 self-assigned this Oct 23, 2024
@bkci-bot bkci-bot added for test Test environment in tencent has been deploy and removed todo todo labels Nov 19, 2024
@fcfang123 fcfang123 added the tested 测试环境通过/test patest passed for test stage label Nov 19, 2024
bkci-bot added a commit that referenced this issue Nov 19, 2024
pref:流水线相关的文件操作人调整为流水线的权限代持人 #11016
@bkci-bot bkci-bot added todo todo for gray UAT environment in tencent has been deploy and removed for test Test environment in tencent has been deploy tested 测试环境通过/test patest passed for test stage labels Nov 19, 2024
@mingshewhe mingshewhe added the service/process 流水线 label Nov 20, 2024
@bkci-bot bkci-bot added done Production environment in tencent has been deploy and removed for gray UAT environment in tencent has been deploy labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy help wanted Extra attention is needed kind/refactor 代码优化,重构 service/process 流水线 todo todo
Projects
None yet
Development

No branches or pull requests

6 participants