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

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

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 11 Jun 2025 10:38PM 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: 78.96%. Remained the same
15596644343.1

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

6158 of 9996 branches covered (61.6%)

23309 of 29520 relevant lines covered (78.96%)

0.79 hits per line

Source Files on job 15596644343.1
  • Tree
  • List 653
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
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