Skip to content

all/frontend: One name for a tenant - #92

Merged
l-nmch merged 1 commit into
mainfrom
feat/one-name-for-a-tenant
Nov 14, 2026
Merged

l-nmch merged 1 commit into
mainfrom
feat/one-name-for-a-tenant

Conversation

@l-nmch

@l-nmch l-nmch commented Nov 14, 2026

Copy link
Copy Markdown
Member

What

A tenant has one name: its slug (phorge-fr/phorge-api#118, merged).

  • Creation (/new): one field. The rules of the name are said as the person types (starts with a lowercase letter, lowercase letters, digits and hyphens, 2 to 28 characters), in a polite live region, with the one help text that says the name is in the addresses and the project and cannot change. The form sends { name } and nothing else.
  • Tenant page: the "Name" form and its update action are gone, with patchTenant: the API has no PATCH of a tenant any more (405). The page title and header show the name.
  • Everywhere else the name is shown alone: the page titles, the tenant menu and its search, the list of tenants, and the choice of tenants of an API key.
  • docs/reference/configuration.md says it. The displayName of an API key is another thing and stays.

Order of deployment

The API release with this change (phorge-fr/phorge-api#144, 0.16.0) answers 400 to a creation that sends displayName, and 405 to a PATCH of a tenant. This console no longer sends either, so it must be deployed first; it works against the API as it is today too (no displayName is a normal creation).

Tests

  • pnpm check (0 errors, 0 warnings), pnpm lint and pnpm build pass; the docs check passes.
  • Not run: the pages in a browser against a real API (the console needs an Authentik session). The creation form's live rule messages and the removal of the name form are read from the code, not seen.

Closes #59

A tenant has one name, a slug. The creation form has one field, which says the rules of the name as the person types, and sends no display
name; the tenant page has no form to rename it (the API has no such route any more). The name is what every title, the tenant menu, the
list of tenants and the choice of a tenant for an API key show.

Closes #59
@l-nmch l-nmch added this to the 2027-Q1 milestone Nov 14, 2026
@l-nmch l-nmch added the area/api Phorge API and console label Nov 14, 2026
@l-nmch l-nmch self-assigned this Nov 14, 2026
@l-nmch l-nmch added this to Roadmap Nov 14, 2026
@l-nmch
l-nmch merged commit 5732048 into main Nov 14, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api Phorge API and console

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

all/frontend: One name for a tenant

1 participant