feat(web): hq-sourced members are read-only here
Server Deploy / deploy (push) Successful in 2m56s

The lock is a courtesy — the API answers 409 either way. NEXT_PUBLIC_HQ_URL
defaults empty so a self-hosted install shows a plain label rather than a
link to a portal that does not serve them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
mrhid6
2026-07-26 16:42:47 +01:00
co-authored by Claude Opus 5
parent 2d12669f9b
commit 7b077905e2
4 changed files with 44 additions and 13 deletions
+4 -1
View File
@@ -335,7 +335,10 @@ export interface InstanceUser {
instance_id: string;
email: string;
role: Role;
auth_source: "local" | "oidc";
// "hq" means the row was projected from a Vantage HQ account. Its role,
// password and existence belong to HQ; this instance refuses to change them.
auth_source: "local" | "oidc" | "hq";
hq_user_id?: string;
created_at: string;
last_login?: string;
}