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

kobotoolbox / kpi / 18280972546 / 1
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1453-run-external-process
DEFAULT BRANCH: master
Ran 06 Oct 2025 01:07PM UTC
Files 862
Run time 29s
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

06 Oct 2025 12:33PM UTC coverage: 78.799% (+0.03%) from 78.773%
18280972546.1

push

github

web-flow
feat(dataCollectors): allow DCs access to read-only OpenRosa endpoints DEV-788 (#6258)

### đŸ“Ŗ Summary
Allow data collectors to view surveys in Enketo.


### 📖 Description
Updates the OpenRosa endpoints to allow urls of the form
`/key/<token>/endpoint` and provide the correct response if the data
collector with the relevant token is part of a group that has access to
the xform.


### 💭 Notes
Updates the read-only OpenRosa endpoints (list, manifest, media, and
download) to accept requests with the token in the URL, using the new
DataCollectorTokenAuthentication class and checking to make sure the
DataCollectorUser has access to the xform via their group.


### 👀 Preview steps

1. â„šī¸ have an account and a project with at least one image
2. In django admin, create a data collector group with at least one data
collector
3. Assign the project to the data collector
4. In redis, get the enketo id with 'get
"or:kf.kobo.local:8080/key/<dc_token>,<asset_uid>"'
5. Go to http://ee.kobo.local/x/<enketo_id>
6. đŸŸĸ [on PR] The survey should load. Note the image may not properly
load if using kobo-compose but that's a pre-existing problem
7. Check the kpi logs
8. đŸŸĸ [on PR] There should be requests to
`/key/token/formList?formID=<xformid>`,
`/key/token/xformsManifest/<xform_pk>`, and
`/key/token/forms/<xform_pk>/form.xml`

6764 of 11014 branches covered (61.41%)

26018 of 33018 relevant lines covered (78.8%)

0.79 hits per line

Source Files on job 18280972546.1
  • Tree
  • List 862
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 18280972546
  • 3d082a4e on github
  • Prev Job for on main (#18245722864.1)
  • Next Job for on main (#18282321595.1)
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