(value: string | undefined)
| 73 | } |
| 74 | |
| 75 | const splitLower = (value: string | undefined): readonly string[] => |
| 76 | (value ?? "") |
| 77 | .split(",") |
| 78 | .map((part) => part.trim().toLowerCase()) |
| 79 | .filter((part) => part.length > 0); |
| 80 | |
| 81 | // The org slug doubles as a URL segment (`/<slug>/policies`), so an |
| 82 | // operator-set value must fit the shared grammar and avoid reserved root |