|
|
|
@ -156,7 +156,7 @@ func Milestones(ctx *context.Context) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
repoOpts := repo_model.SearchRepoOptions{
|
|
|
|
|
Actor: ctxUser,
|
|
|
|
|
Actor: ctx.Doer,
|
|
|
|
|
OwnerID: ctxUser.ID,
|
|
|
|
|
Private: true,
|
|
|
|
|
AllPublic: false, // Include also all public repositories of users and public organisations
|
|
|
|
@ -437,7 +437,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
|
|
|
|
|
// - Team has read permission to repository.
|
|
|
|
|
repoOpts := &repo_model.SearchRepoOptions{
|
|
|
|
|
Actor: ctx.Doer,
|
|
|
|
|
OwnerID: ctx.Doer.ID,
|
|
|
|
|
OwnerID: ctxUser.ID,
|
|
|
|
|
Private: true,
|
|
|
|
|
AllPublic: false,
|
|
|
|
|
AllLimited: false,
|
|
|
|
|