使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
mirrors
/
gitea
镜像自地址
https://github.com/go-gitea/gitea.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
210
百科
动态
浏览代码
Make /users/{username}/repos list private repos the current user has access to (
#8621
)
tags/v1.11.0-rc1
7FM
4 年前
父节点
ace0346c66
当前提交
22272fe1e4
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
显示文件统计
1
1
routers/api/v1/user/repo.go
+ 1
- 1
routers/api/v1/user/repo.go
查看文件
@@ -52,7 +52,7 @@ func ListUserRepos(ctx *context.APIContext) {
if ctx.Written() {
return
}
private := ctx.IsSigned
&& (ctx.User.ID == user.ID || ctx.User.IsAdmin)
private := ctx.IsSigned
listUserRepos(ctx, user, private)
}
撰写
预览
正在加载...
取消
保存