code: func (c *CommentsController) Delete(ctx *app.DeleteCommentsContext) error {
  	identityID, err := login.ContextIdentity(ctx)
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, goa.ErrUnauthorized(err.Error()))
  	}
  	cm, wi, userIsCreator, err := c.loadComment(ctx.Context, ctx.CommentID, *identityID)
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, err)
  	}
  	// User is allowed to delete if user is creator of the comment OR user is a space collaborator
  	if !userIsCreator {
  		authorized, err := authz.Authorize(ctx, wi.SpaceID.String())
  		if err != nil {
  			return jsonapi.JSONErrorResponse(ctx, errors.NewUnauthorizedError(err.Error()))
  		}
  		if !authorized {
  			return jsonapi.JSONErrorResponse(ctx, errors.NewForbiddenError("user is not a space collaborator"))
  		}
  	}
  	err = application.Transactional(c.db, func(appl application.Application) error {
  		return appl.Comments().Delete(ctx.Context, cm.ID, *identityID)
  	})
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, err)
  	}
  	return ctx.OK([]byte{})
  }
docs: // Delete does DELETE comment