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

kobotoolbox / kpi / 15262015841
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 26 May 2025 09:45PM UTC
Jobs 2
Files 653
Run time 1min
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

26 May 2025 09:09PM UTC coverage: 81.035% (-0.01%) from 81.045%
15262015841

push

github

web-flow
fix(permissions): uncheckable permission checkboxes DEV-266 (#5798)

### 📣 Summary

After selecting "Manage collection" permission in Library's Sharing
Form, User can unselect all checkboxes (one at a time) beck into initial
empty state.

### 💭 Notes

`applyValidityRules` requires additional argument `assignablePerms`. We
use it to ensure that the rules are being applied based on permissions
that are currently being displayed/used in the UI. Nn Library we are
displaying only 3 permissions, but the code was applying rules based on
all 16 of them causing the bug.


### 👀 Preview steps

Bug template:
1. Go to "My Library"
2. Have a collection, block, or template
3. Use "Share" button (appears on the right on hover)
4. In "Sharing Permissions" modal use "Add user" button
5. In the form that appears check "Manage…" checkbox
6. 🟢 Notice that "View…" and "Edit…" are checked and disabled (this is
correct)
7. Uncheck "Manage…" checkbox
8. 🟢 Notice that "View…" checkbox is checked and disabled, and "Edit…"
checkbox is checked and (now) enabled
9. Uncheck "Edit…" checkbox
10. 🔴 (on main) Notice that "View…" checkbox is still checked and
disabled → it should be checked and enabled
11. 🟢 (on PR) Notice that "View…" checkbox is still checked, but not
disabled

6253 of 9913 branches covered (63.08%)

23851 of 29433 relevant lines covered (81.03%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15262015841.1 26 May 2025 09:45PM UTC 653
78.96
2 15262015841.2 26 May 2025 09:47PM UTC 653
81.01
Source Files on build 15262015841
  • 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
  • c2cc370c on github
  • Prev Build on main (#15211476963)
  • Next Build on main (#15273956956)
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