Skip to content

Comments

Implement Account Membership Management#63

Merged
sergeychernyshev merged 49 commits intomainfrom
10-implement-account-membership-management
Feb 17, 2026
Merged

Implement Account Membership Management#63
sergeychernyshev merged 49 commits intomainfrom
10-implement-account-membership-management

Conversation

@sergeychernyshev
Copy link
Member

@sergeychernyshev sergeychernyshev commented Feb 17, 2026

This PR implements account membership management for account admins.

Key changes:

  • Added API endpoints:
    • GET /me/accounts/:accountId to get full account details including billing/plan.
    • POST /me/accounts/:accountId to update account info (e.g., name).
    • GET /me/accounts/:accountId/members to list account members (includes user names).
    • POST /me/accounts/:accountId/members to add a new member (API only).
    • DELETE /me/accounts/:accountId/members/:userId to remove a member from the account.
  • Implemented permission checks to ensure only account admins (or system admins) can manage memberships.
  • Added a new Account Settings UI page (public/users/accounts.html) for managing team members.
    • Allows editing the account name.
    • Displays account general info and plan information.
    • Displays member names with one-line ellipsis.
  • Added links to Account Settings in the user profile and power-strip.
  • Added comprehensive integration tests in test/membership.spec.ts.

Closes #10

✨ Assisted by AI: Gemini

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 17, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
startup-api 5b0a2f2 Feb 17 2026, 04:24 AM

@sergeychernyshev sergeychernyshev merged commit d90b841 into main Feb 17, 2026
1 of 2 checks passed
@sergeychernyshev sergeychernyshev deleted the 10-implement-account-membership-management branch February 17, 2026 04:24
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.

Implement Account Membership Management

1 participant