We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87c31c2 commit e269e89Copy full SHA for e269e89
routers/web/org/projects.go
@@ -193,7 +193,7 @@ func DeleteProject(ctx *context.Context) {
193
}
194
return
195
196
- if p.RepoID != ctx.Repo.Repository.ID {
+ if p.OwnerID != ctx.ContextUser.ID {
197
ctx.NotFound("", nil)
198
199
@@ -226,7 +226,7 @@ func EditProject(ctx *context.Context) {
226
227
228
229
230
231
232
@@ -260,7 +260,7 @@ func EditProjectPost(ctx *context.Context) {
260
261
262
263
264
265
266
0 commit comments