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

kobotoolbox / kpi / 17626380988
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1497-show-most-recently-created-qual-answer
DEFAULT BRANCH: master
Ran 10 Sep 2025 09:17PM UTC
Jobs 2
Files 861
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

10 Sep 2025 08:44PM UTC coverage: 81.133% (+0.02%) from 81.112%
17626380988

push

github

web-flow
feat(permissions): Kobocat/OpenRosa - Merge Permissions Systems (#5887)

### đŸ“Ŗ Summary
This contains multiple PR's from the project `Kobocat/OpenRosa - Merge Permissions Systems`:
1. DEV-228 Remove the ObjectPermissionBackend 
2. DEV-229 Remove Guardian related code 
3. DEV-824 Clean up obsolete Kobocat/OpenRosa permissions code
4. DEV-231 Remove all occurrences of the special permission PERM_FROM_KC_ONLY from the database and from the codebase
5. DEV-230 Remove Guardian dependancy.
6. DEV-227 Replacing guardian extension used in openrosa apps with functions from the kpi permissions system. 

### 👀 Preview steps

1. â„šī¸ have an account and a project
2. Log into Kobo, create a project, crate a form, deploy it, 
3. Submit/edit/delete/export data
4. Add/Edit/Modify notes, labels, 
5. Share project with another user, with partial permissions allow only
to view and edit their own submissions
6. Submit/edit/delete/export data using the user with partial
permissions
7. Ensure the user with partial permissions can't edit the form or do
any privileged action
8. Check the logs, there should be no errors, if you find anything
wrong, let me know in this thread

---------

Signed-off-by: Guillermo <lgar89@gmail.com>

6860 of 10838 branches covered (63.3%)

126 of 146 new or added lines in 21 files covered. (86.3%)

35 existing lines in 8 files now uncovered.

26567 of 32745 relevant lines covered (81.13%)

1.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.45
8.31% kobo/apps/openrosa/apps/api/permissions.py
1
94.83
-0.75% kobo/apps/openrosa/libs/filters.py
1
96.0
-4.0% kobo/apps/openrosa/libs/permissions.py
1
86.07
-0.11% kobo/apps/openrosa/libs/utils/logger_tools.py
6
0.0
kobo/apps/long_running_migrations/jobs/0010_remove_from_kc_only_permission.py
10
51.65
-2.99% kobo/apps/openrosa/libs/utils/user_auth.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.5
-12.5% kobo/apps/openrosa/libs/mixins/anonymous_user_public_forms_mixin.py
1
51.65
-2.99% kobo/apps/openrosa/libs/utils/user_auth.py
1
82.61
6.61% kpi/serializers/v1/object_permission.py
1
85.0
-5.0% kpi/urls/__init__.py
1
93.62
-2.13% kpi/utils/django_orm_helper.py
3
92.45
8.31% kobo/apps/openrosa/apps/api/permissions.py
3
90.52
-2.59% kpi/views/environment.py
24
75.49
-23.53% kpi/utils/usage_calculator.py
Jobs
ID Job ID Ran Files Coverage
1 17626380988.1 10 Sep 2025 09:17PM UTC 861
78.81
2 17626380988.2 10 Sep 2025 09:21PM UTC 861
81.11
Source Files on build 17626380988
  • Tree
  • List 861
  • Changed 32
  • Source Changed 0
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0fb73a08 on github
  • Prev Build on main (#17581955532)
  • Next Build on main (#17628729072)
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