chore: fix system users (#39299)

This commit is contained in:
wxiaoguang
2026-09-12 16:26:20 +00:00
committed by GitHub
parent 1e13badb39
commit 1280de5704
14 changed files with 26 additions and 39 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func loadRepository(ctx *gitea_context.PrivateContext, ownerName, repoName strin
}
func loadContextDoerPermission(ctx *gitea_context.PrivateContext, userID int64, extDoerData string) bool {
doer, err := user.GetDoerUser(ctx, userID, extDoerData)
doer, err := user.GetDoerPermissionUser(ctx, userID, extDoerData)
if err != nil {
ctx.PrivateInternalErrorf("Failed to get user: %d, error: %v", userID, err)
return false