()
| 24 | ); |
| 25 | |
| 26 | const noOrganization = () => |
| 27 | HttpServerResponse.jsonUnsafe( |
| 28 | { |
| 29 | error: "No organization in session", |
| 30 | code: "no_organization", |
| 31 | }, |
| 32 | { status: 403 }, |
| 33 | ); |
| 34 | |
| 35 | /** |
| 36 | * The caller's role in the session org, as `authorizeOrganizationSelector` |