We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 559c2fe commit 9939679Copy full SHA for 9939679
routers/api/v1/group/group.go
@@ -282,10 +282,6 @@ func GetGroup(ctx *context.APIContext) {
282
ctx.APIErrorNotFound()
283
return
284
}
285
- if group.OwnerID != ctx.Org.Organization.ID {
286
- ctx.APIErrorNotFound()
287
- return
288
- }
289
if err != nil {
290
ctx.APIErrorInternal(err)
291
@@ -299,7 +295,7 @@ func GetGroup(ctx *context.APIContext) {
299
295
300
296
301
297
func DeleteGroup(ctx *context.APIContext) {
302
- // swagger:operation DELETE /groups/{group_id} repositoryGroup groupDelete
298
+ // swagger:operation DELETE /groups/{group_id} repository-group groupDelete
303
// ---
304
// summary: Delete a repository group
305
// produces:
0 commit comments