Skip to main content

validate_tenant_id

Function validate_tenant_id 

Source
pub fn validate_tenant_id(id: &str) -> Result<TenantId, OperationOutcomeError>
Expand description

Checks an id chosen for a new tenant. The length cap leaves a project id room in the hostname label the two share. Refuses the system tenant and the reserved names.