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

kobotoolbox / kpi / 35854913355
83%
master: 76%

Build:
Build:
LAST BUILD BRANCH: guitlle/dev-180-openid-logout
DEFAULT BRANCH: master
Ran 23 Sep 2026 11:34AM UTC
Jobs 10
Files 907
Run time 3min
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

23 Sep 2026 11:30AM UTC coverage: 82.829% (-0.02%) from 82.845%
35854913355

push

github

web-flow
fix(library): transfer uploaded library items to the organization and let admins delete them DEV-2873 (#7622)

### 📣 Summary
Library items uploaded by a member of a Teams organization now belong to
the organization, and organization admins can delete library items from
My Library.

### 📖 Description
In a Teams organization, whatever a member creates belongs to the
organization. That was already true for question blocks, templates and
collections created from the Library. Items added with the Upload button
were the exception: they stayed with the person who uploaded them. They
now go to the organization as well, and the uploader can still edit and
manage them.

Admins were also missing the Delete option on library items owned by
their organization, although they are allowed to delete them. The option
is now there, as it is for projects.

### 💭 Notes
- `ImportTask` used to create assets with the requesting user as owner.
It now does what the API create path does (`perform_create_override` and
`AssetSerializer.create`): owner from `get_real_owner`,
`is_excluded_from_projects_list`, `manage_asset` for the uploader on
every created item in the same transaction (collections only pass view
and change down to their children), plus `created_by` and
`last_modified_by`. We need `created_by` because the non-owner delete
rule checks it, so without it a plain member could not delete their own
upload anymore. Imports into an existing asset are not touched.
- The API already let admins delete, the block was in the frontend.
`AssetMoreActions` showed Delete only with `delete_submissions`, which
library assets can never have, so in practice only the owner saw it. It
now uses the same condition as `projectQuickActions`. The backend still
has the last word, so Delete on an asset from outside the org ends in
the usual error.
- `owner__username` in the import messages now gives the asset's owner
instead of the uploader.
- Dropping an XLSForm on the project list runs the sa... (continued)

10201 of 13539 branches covered (75.35%)

5 of 39 new or added lines in 2 files covered. (12.82%)

439 existing lines in 20 files now uncovered.

32627 of 39391 relevant lines covered (82.83%)

5.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
33
69.95
44.63% kpi/models/import_export_task.py
1
27.43
-0.24% kpi/utils/models.py

Coverage Regressions

Lines Coverage ∆ File
81
0.0
-93.1% kobo/apps/stripe/serializers.py
75
0.0
-41.9% kobo/apps/stripe/views.py
63
0.0
-51.64% kobo/apps/stripe/models.py
59
26.95
-36.88% kobo/apps/stripe/utils/subscription_limits.py
36
20.2
-36.36% kobo/apps/stripe/utils/billing_dates.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
16
87.05
-2.41% kobo/apps/openrosa/libs/utils/logger_tools.py
16
31.82
-36.36% kobo/apps/stripe/utils/limit_enforcement.py
15
0.0
-20.55% kobo/apps/stripe/signals.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
9
0.0
-29.03% kobo/apps/stripe/utils/manual_subscription.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
6
0.0
-100.0% kobo/apps/stripe/exceptions.py
6
0.0
-37.5% kobo/apps/stripe/utils/view_utils.py
3
31.43
-2.86% kobo/apps/organizations/admin/organization.py
3
59.46
1.08% kobo/apps/organizations/models.py
3
60.53
2.63% kobo/apps/organizations/utils.py
1
69.95
44.63% kpi/models/import_export_task.py
1
27.43
-0.24% kpi/utils/models.py
Jobs
ID Job ID Ran Files Coverage
1 35854913355.1 23 Sep 2026 11:34AM UTC 902
43.82
2 35854913355.2 23 Sep 2026 11:35AM UTC 902
49.44
3 35854913355.3 23 Sep 2026 11:35AM UTC 902
52.72
4 35854913355.4 23 Sep 2026 11:36AM UTC 904
45.11
5 35854913355.5 23 Sep 2026 11:36AM UTC 904
50.7
6 35854913355.6 23 Sep 2026 11:37AM UTC 904
53.97
7 35854913355.7 23 Sep 2026 11:38AM UTC 902
58.69
8 35854913355.8 23 Sep 2026 11:39AM UTC 905
67.85
9 35854913355.9 23 Sep 2026 11:40AM UTC 904
59.78
10 35854913355.10 23 Sep 2026 11:41AM UTC 907
70.14
Source Files on build 35854913355
  • Tree
  • List 907
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1bf0a1a7 on github
  • Prev Build on release/2.026.37 (#35683354380)
  • Next Build on release/2.026.37 (#36012895504)
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