• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vocdoni / saas-backend / 28107569777
63%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 03:00PM UTC
Jobs 2
Files 113
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jun 2026 02:53PM UTC coverage: 61.782% (+0.05%) from 61.735%
28107569777

push

github

altergui
feat(api)!: resolve integrator org from the auth context, drop {address} from integrator endpoints

The integrator-scoped endpoints were addressed as /organizations/{address}/...,
but an API key already identifies its integrator org and there is no key-accessible
"whoami" — so a key client couldn't discover the address to build the URL. The
organization is now taken from the authenticated principal, and the endpoints are
path-less.

BREAKING CHANGE: the integrator endpoints move and no longer take an address:
  GET  /organizations/{address}/integrator  -> GET  /integrator
  GET  /organizations/{address}/managed      -> GET  /integrator/managed
  POST /organizations/{address}/managed      -> POST /integrator/managed

- New apicommon.APIKeyFromContext mirrors UserFromContext.
- New a.integratorAddress(w, r): API key -> key.OrgAddress; user session -> the
  integrator org the user administers (selected via subscriptions.IsIntegrator, since
  the user may also administer the managed orgs it created). One user = one integrator
  org in practice (the UI does not let an integrator create more).
- Allowlist + swagger updated; handlers keep their role/quota checks on the resolved org.

Member management is unchanged: POST /organizations/{managedAddr}/members already works
with a key (the managed org's owner defaults to the key owner), and the managed address
comes from the create response.

24 of 27 new or added lines in 2 files covered. (88.89%)

9578 of 15503 relevant lines covered (61.78%)

88.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
51.87
3.11% api/organizations_managed.go
Jobs
ID Job ID Ran Files Coverage
1 28107569777.1 24 Jun 2026 03:00PM UTC 113
61.78
GitHub Action Run
2 28107569777.2 24 Jun 2026 04:22PM UTC 113
61.78
GitHub Action Run
Source Files on build 28107569777
  • Tree
  • List 113
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f01412bd on github
  • Prev Build on main (#28095266962)
  • Next Build on main (#28114336661)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc