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

kobotoolbox / kpi / 14601537627
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 22 Apr 2025 06:40PM UTC
Jobs 2
Files 647
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

22 Apr 2025 06:04PM UTC coverage: 80.971% (-0.007%) from 80.978%
14601537627

push

github

web-flow
feature(attachments): make bulk delete attachments account for partial permissions TASK-559 (#5695)


### 📣 Summary
<!-- Delete this section if changes are internal only. -->
<!-- One sentence summary for the public changelog, worded for
non-technical seasoned Kobo users. -->

Displays the correct number of attachments/submissions in the UI when
bulk deleting based on current user permissions.

### 👀 Preview steps
<!-- Delete this section if behavior can't change. -->
<!-- If behavior changes or merely may change, add a preview of a
minimal happy path. -->
Feature/no-change template:
1. Have a form with submissions and `removingAttachmentsEnabled` flag
enabled
2. Give partial delete permissions to another user somehow. The way I
did it was:
    1. Have 2 accounts
2. Submit data logged in on both accounts (so there are submissions from
multiple accounts)
    3. Give one user permission to view submissions from both account
4. Give the same user in step above permission to only delete from one
account, let's call this the Test User.
6. As the Test User, select all submissions and click "Delete media
files only"
8. 🟢 notice that the number of attachments counted in the modal
correctly matches those that come from the submission(s) Test User can
delete
9. 🟢notice that after a successful "delete" the notify displays the
correct number of submissions that Test User can delete

---------

Co-authored-by: Leszek Pietrzak <leszek@magicznyleszek.xyz>

6134 of 9743 branches covered (62.96%)

23458 of 28971 relevant lines covered (80.97%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14601537627.1 22 Apr 2025 06:40PM UTC 647
78.83
2 14601537627.2 22 Apr 2025 06:43PM UTC 647
80.95
Source Files on build 14601537627
  • Tree
  • List 647
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ca19af88 on github
  • Prev Build on main (#14580950909)
  • Next Build on main (#14601884126)
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