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

protofire / safe-client-gateway / 32133341818
89%
staging: 89%

Build:
Build:
LAST BUILD BRANCH: production
DEFAULT BRANCH: staging
Ran 18 Aug 2026 11:49AM UTC
Jobs 2
Files 1061
Run time 4min
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

18 Aug 2026 11:38AM UTC coverage: 89.107% (-0.01%) from 89.117%
32133341818

push

github

DenSmolonski
fix: restrict space invites to admins of that space

The authorization check in `inviteUsers` looked up an ACTIVE/ADMIN member
row for the signer without constraining it to the target space, so an
admin of any one space could invite arbitrary members — including with
the ADMIN role — into any other space.

Replace the inline query with a dedicated `assertActiveSpaceAdmin` guard
that verifies admin rights within the given space, mirroring the scoping
already applied by `updateRole`, `removeUser` and the other member
operations. Error semantics are unchanged.

Add an integration test covering the repository layer and an e2e test
asserting the endpoint answers 401 when the signer administers a
different space.

2965 of 3775 branches covered (78.54%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 1 file covered. (100.0%)

2 existing lines in 2 files now uncovered.

14360 of 15668 relevant lines covered (91.65%)

541.63 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.55
-3.23% src/modules/notifications/routes/v1/entities/__tests__/create-registration-v2.dto.builder.ts
1
93.51
-2.6% src/modules/notifications/routes/v1/notifications.controller.ts
Jobs
ID Job ID Ran Files Coverage
1 run-unit-tests - 32133341818.1 18 Aug 2026 11:49AM UTC 1850
56.02
GitHub Action Run
2 run-integration-tests - 32133341818.2 18 Aug 2026 11:50AM UTC 2041
79.42
GitHub Action Run
Source Files on build 32133341818
  • Tree
  • List 1061
  • Changed 292
  • Source Changed 1
  • Coverage Changed 292
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32133341818
  • 0485f096 on github
  • Prev Build on development (#32123153477)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc