Skip to content

feat(env): norbix env admin-url set/clear/show — one admin portal per environment; project --env shows the effective admin URL - #97

Merged
Domantas merged 1 commit into
mainfrom
feat/n49-admin-url-per-env
Oct 22, 2026
Merged

Domantas merged 1 commit into
mainfrom
feat/n49-admin-url-per-env

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

Gateway N49 — one admin portal per environment.

  • norbix env admin-url set <url> --env TEST / --prod, norbix env admin-url clear --env TEST, norbix env admin-url show --env TEST
    call the new Hub routes PATCH|GET /v3/account/projects/environments/{environmentName}/admin-url directly (the SDK does not know them yet).
    set/clear read the answer back and print where that environment's password-reset / magic-link / invitation e-mails point and why
    (environment / project / hosted / cloud). --dry-run sends nothing; a 404/405 names an old hub.
  • norbix project --env TEST adds environmentAdminUrl {env, adminUrl, effectiveAdminUrl, source, note}; without an env it answers as before.
  • README: "One admin portal per environment". Schema snapshot: +3 commands.

Tests: test/env-admin-url.test.ts (10), full vitest 1113/0.

🤖 Generated with Claude Code

… environment; project --env shows the effective admin URL

Gateway N49: PATCH/GET /v3/account/projects/environments/{environmentName}/admin-url,
called directly (the SDK does not know the routes yet), env from --env / --prod /
the saved default, else PROD. set/clear read the answer back and print where the
env's reset / magic-link / invitation e-mails point and why (environment / project
/ hosted / cloud). `norbix project --env TEST` adds environmentAdminUrl; without an
env it answers as before. A 404/405 names an old hub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit fb063e8 into main Oct 22, 2026
11 checks passed
@Domantas
Domantas deleted the feat/n49-admin-url-per-env branch October 22, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant