code: func PermFlagFromStringList(permissions []string) (PermFlag, error) {
  	var permFlag PermFlag
  	for _, perm := range permissions {
  		s := strings.TrimSpace(perm)
  		if s == "" {
  			continue
  		}
  		flag, err := PermStringToFlag(s)
  		if err != nil {
  			return permFlag, err
  		}
  		permFlag |= flag
  	}
  	return permFlag, nil
  }
docs: // Builds a composite PermFlag by mapping each permission string in permissions to its
  // flag and composing them with binary or