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

kobotoolbox / kpi / 18868719482
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1272-migrations-discrepancy
DEFAULT BRANCH: master
Ran 28 Oct 2025 09:04AM UTC
Jobs 2
Files 877
Run time 2min
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

28 Oct 2025 08:31AM UTC coverage: 81.341% (+0.02%) from 81.317%
18868719482

push

github

web-flow
fix(assets): handle anonymous user access on asset snapshot list DEV-1105 (#6409)

### 📣 Summary
Fixes an issue where anonymous users received a 500 error when accessing
the asset snapshots list endpoint. Anonymous requests now safely return
an empty response instead of causing a server error.


### 📖 Description
Previously, the `/api/v2/asset_snapshots/` endpoint raised a server
error when accessed anonymously, because the code attempted to access
`organization.is_admin_only()` even when no organization was associated
with the user.
This PR updates the filtering logic to handle anonymous users gracefully
and adds a unit test to ensure no 500 error occurs in such cases.

7072 of 11112 branches covered (63.64%)

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

27341 of 33613 relevant lines covered (81.34%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18868719482.1 28 Oct 2025 09:04AM UTC 875
78.94
2 18868719482.2 28 Oct 2025 09:08AM UTC 877
81.31
Source Files on build 18868719482
  • Tree
  • List 877
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8758990e on github
  • Prev Build on release/2.025.43 (#18764433936)
  • Next Build on release/2.025.43 (#18874910536)
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