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

kobotoolbox / kpi / 15596644343 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 11 Jun 2025 10:39PM UTC
Files 653
Run time 297min
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.033% (+2.1%) from 78.96%
15596644343.2

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**

6326 of 10004 branches covered (63.23%)

23921 of 29520 relevant lines covered (81.03%)

0.81 hits per line

Source Files on job 15596644343.2
  • Tree
  • List 653
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15596644343
  • cf1e0067 on github
  • Prev Job for on main (#15535886076.2)
  • Next Job for on main (#15606802772.2)
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