code: func verifyUser(ctx context.Context, currentUser uuid.UUID, sp *space.Space) (bool, bool, error) {
  	authorized, err := authz.Authorize(ctx, sp.ID.String())
  	if err != nil {
  		return false, false, err
  	}
  	var spaceOwner bool
  	if uuid.Equal(currentUser, sp.OwnerID) {
  		spaceOwner = true
  	}
  	return authorized, spaceOwner, nil
  }
docs: // verifyUser checks if user is a space owner or a collaborator