Skip to content

billing: document account membership (members & roles)#60

Merged
acoshift merged 2 commits into
mainfrom
billing-members
Jul 1, 2026
Merged

billing: document account membership (members & roles)#60
acoshift merged 2 commits into
mainfrom
billing-members

Conversation

@acoshift

@acoshift acoshift commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

Documents the new billing-account membership feature.

New page Members & roles (content/billing/members.md) covering:

  • The three roles and a capability matrix (owner / admin / accountant).
  • Listing members (billing.listMembers), inviting (billing.addMember — an upsert, so re-inviting an existing member changes their role; the owner email is rejected), and removing (billing.removeMember, effective immediately).
  • That billing has no public principals — a member is always a real person's email (unlike a project role that can bind allUsers).
  • Only the owner can delete the account.

Cross-linked from the billing overview and the access/roles page (which previously said billing was authorized by ownership alone).

Documents the API surface added in deploys-app/api#123 and deploys-app/apiserver#226.

Test

hugo --gc --minify builds clean; new page renders at /billing/members/ and the cross-links resolve.

Add a Members & roles page under the billing docs covering the owner/admin/
accountant capability matrix, listing members (billing.listMembers), inviting
(billing.addMember — upsert, so re-inviting changes a role; owner email
rejected), removing (billing.removeMember), that billing has no public
principals (real emails only), and that only the owner can delete the account.
Cross-linked from the billing overview and the access/roles page.
@deploys-app deploys-app Bot temporarily deployed to pr-60 July 1, 2026 03:41 Destroyed
@deploys-app

deploys-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

Preview deleted (PR closed).

An accountant can view and pay an account's invoices but cannot bill a project
to it — project create/update requires the caller to own or be an admin of the
target billing account. Add the row to the capability matrix + accountant note.
@acoshift acoshift merged commit de244a7 into main Jul 1, 2026
1 check passed
@acoshift acoshift deleted the billing-members branch July 1, 2026 06:47
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