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

kobotoolbox / kpi / 15490241932
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 06 Jun 2025 12:51PM UTC
Jobs 1
Files 638
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

06 Jun 2025 12:12PM UTC coverage: 80.553% (+0.007%) from 80.546%
15490241932

push

github

web-flow
feat(projectHistoryLogs): change code to codename for partial perms D… (#5826)

Port of  DEV-218 (#5715)

### šŸ“£ Summary
Change the key from 'code' to 'codename' for consistency when creating
PH logs for partial permission changes.


### šŸ’­ Notes
The PH log table is huge and updating it is a pain, so this will only
change data going forward. Nothing on the front end relies on the
structure of the metadata field so the inconsistency shouldn't break
anything.


### šŸ‘€ Preview steps
1. ā„¹ļø have account and a project, and at least one other user
2. Go to Project > Settings > Sharing
3. Grant the second user permission to view only submissions from a
specific user
4. Go to `/api/v2/assets/<uid>/history`
5. 🟢 There should be a new `modify-user-permissions` PH log with 
```
                "permissions": {
                    "added": [
                        "view_asset",
                        "partial_submissions",
                        {
                            "filters": [
                                {
                                    "_submitted_by": "<user>"
                                }
                            ],
                            "codename": "view_submissions"
                        }
                    ],
                    "removed": [],
                    "username": "<user>"
                },
```
in the metadata

6085 of 9702 branches covered (62.72%)

1 of 1 new or added line in 1 file covered. (100.0%)

23076 of 28647 relevant lines covered (80.55%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15490241932.1 06 Jun 2025 12:51PM UTC 638
80.55
Source Files on build 15490241932
  • Tree
  • List 638
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage āˆ† File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ff1f98c2 on github
  • Prev Build on release/2.025.14 (#15466595798)
  • Next Build on release/2.025.14 (#15492810077)
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