Phase 10, part 7: posting accounts, and who may post to which

Social accounts become posting accounts: several per network, the
company's and each person's own, with their tokens kept per account. The
old sign-ins are adopted as the company's. Admins say who may post to which
(Settings → Posting accounts); a draft can go out from one account or a
copy to several, each recording who posted it and as what. Signing an
account out, or removing its owner, holds the posts scheduled to it and
tells whoever scheduled them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 09:26:34 -07:00
co-authored by Claude Opus 5.5
parent a4dd36f5a4
commit bb4772637c
31 changed files with 1758 additions and 325 deletions
+4 -1
View File
@@ -34,7 +34,10 @@ var routeAreas = map[string]string{
// Old addresses that only redirect.
"=/profile": areaSignedIn, "=/core": areaSignedIn,
"/settings": areaAdmin, "/auth": areaAdmin,
"/settings": areaAdmin,
// Signing in to a posting account: admins for the company's, anyone
// with Content for their own (oauthStart checks which).
"/auth": areaSignedIn,
"/content": "content", "/posts": "content", "/inbox": "content", "/drafts": "content", "/reddit": "content",
"/prospects": "prospects", "/signals": "prospects", "/lead-sources": "prospects", "/funnel": "prospects",