parent
008f5d8cf1
commit
915cabdb14
|
@ -157,7 +157,7 @@ func Milestones(ctx *context.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
repoOpts := repo_model.SearchRepoOptions{
|
repoOpts := repo_model.SearchRepoOptions{
|
||||||
Actor: ctxUser,
|
Actor: ctx.Doer,
|
||||||
OwnerID: ctxUser.ID,
|
OwnerID: ctxUser.ID,
|
||||||
Private: true,
|
Private: true,
|
||||||
AllPublic: false, // Include also all public repositories of users and public organisations
|
AllPublic: false, // Include also all public repositories of users and public organisations
|
||||||
|
@ -449,7 +449,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
|
||||||
// - Team has read permission to repository.
|
// - Team has read permission to repository.
|
||||||
repoOpts := &repo_model.SearchRepoOptions{
|
repoOpts := &repo_model.SearchRepoOptions{
|
||||||
Actor: ctx.Doer,
|
Actor: ctx.Doer,
|
||||||
OwnerID: ctx.Doer.ID,
|
OwnerID: ctxUser.ID,
|
||||||
Private: true,
|
Private: true,
|
||||||
AllPublic: false,
|
AllPublic: false,
|
||||||
AllLimited: false,
|
AllLimited: false,
|
||||||
|
|
Loading…
Reference in a new issue