code: func (c *WorkitemController) WorkitemCreatorOrSpaceOwner(ctx context.Context, spaceID uuid.UUID, creatorID uuid.UUID, editorID uuid.UUID) error {
  	// check if workitem editor is same as workitem creator
  	if editorID == creatorID {
  		return nil
  	}
  	space, err := c.db.Spaces().Load(ctx, spaceID)
  	if err != nil {
  		return errors.NewNotFoundError("space", spaceID.String())
  	}
  	// check if workitem editor is same as space owner
  	if space != nil && editorID == space.OwnerID {
  		return nil
  	}
  	return errors.NewForbiddenError("user is not a workitem creator or space owner")
  }
docs: // WorkitemCreatorOrSpaceOwner checks if the modifier is space owner or workitem creator