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

kobotoolbox / kpi / 15596644343
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1497-show-most-recently-created-qual-answer
DEFAULT BRANCH: master
Ran 11 Jun 2025 10:38PM UTC
Jobs 2
Files 653
Run time 300min
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

11 Jun 2025 10:00PM UTC coverage: 81.054% (-0.006%) from 81.06%
15596644343

push

github

web-flow
fix(attachments): hide the "Delete media files only" button from any permission except `change_submissions` or higher DEV-583 (#5838)

### đŸ“Ŗ Summary

Those with `delete_submissions` permission for submissions now cannot
see the "Delete media files only" button in the bulk options and those
with `change_submissions` permission are now able to see the button.

### 💭 Notes

Missed a spot when writing the guards for displaying the button.
Clicking it would trigger another set of guards in the actual component
so the user couldn't delete attachments this way anyway.

### 👀 Preview steps

1. â„šī¸ have 3 accounts and a project with media attachment submissions
2. allow a `user_a` to have `delete_submissions` permissions
3. allow a `user_b` to have `change_submissions` permissions
4. 🔴 [on main] notice that `user_a` **can** see "Delete media files
only" button in the bulk select options but `user_b` **cannot**
6. đŸŸĸ [on PR] notice `user_a` **cannot** see "Delete media files only"
button, but `user_b` **now can**

6277 of 9944 branches covered (63.12%)

23927 of 29520 relevant lines covered (81.05%)

1.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.41
-1.24% kobo/apps/stripe/views.py
Jobs
ID Job ID Ran Files Coverage
1 15596644343.1 11 Jun 2025 10:38PM UTC 653
78.96
2 15596644343.2 11 Jun 2025 10:39PM UTC 653
81.03
Source Files on build 15596644343
  • Tree
  • List 653
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • cf1e0067 on github
  • Prev Build on main (#15535886076)
  • Next Build on main (#15606802772)
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

© 2025 Coveralls, Inc