Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions new rework #4409

Closed
wants to merge 221 commits into from
Closed

Permissions new rework #4409

wants to merge 221 commits into from

Conversation

pkujawa
Copy link
Contributor

@pkujawa pkujawa commented Nov 5, 2024

No description provided.

Rename UserRole -> RoleAssignment
Test model constraints
@pkujawa pkujawa added the backend Changes in BE code label Nov 5, 2024
@pkujawa pkujawa self-assigned this Nov 5, 2024
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 94.45215% with 40 lines in your changes missing coverage. Please review.

Project coverage is 86.17%. Comparing base (85aebfd) to head (8fac5f6).

Files with missing lines Patch % Lines
src/hct_mis_api/apps/core/backends.py 83.33% 10 Missing ⚠️
src/hct_mis_api/apps/account/admin/user.py 37.50% 5 Missing ⚠️
src/hct_mis_api/api/admin.py 0.00% 3 Missing ⚠️
src/hct_mis_api/apps/account/models.py 97.58% 3 Missing ⚠️
src/hct_mis_api/apps/account/permissions.py 66.66% 3 Missing ⚠️
src/hct_mis_api/apps/household/schema.py 94.33% 3 Missing ⚠️
src/hct_mis_api/apps/account/authentication.py 0.00% 2 Missing ⚠️
src/hct_mis_api/apps/payment/views.py 33.33% 2 Missing ⚠️
src/hct_mis_api/apps/account/admin/ad.py 0.00% 1 Missing ⚠️
src/hct_mis_api/apps/account/export_users_xlsx.py 50.00% 1 Missing ⚠️
... and 7 more

❌ Your patch check has failed because the patch coverage (94.45%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4409      +/-   ##
===========================================
+ Coverage    85.85%   86.17%   +0.31%     
===========================================
  Files          549      554       +5     
  Lines        36006    36325     +319     
===========================================
+ Hits         30913    31302     +389     
+ Misses        5093     5023      -70     
Flag Coverage Δ
e2e 60.67% <58.66%> (-0.23%) ⬇️
unittests 84.66% <93.06%> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pkujawa and others added 26 commits November 26, 2024 00:01
… on account models, apply new logic for rest, some graphql requests
…gnments with validation against allowed BAs, tests
…ixtures for the user and partner permissions
… specific scope for ftontend, additional model constraints
@pkujawa pkujawa closed this Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Changes in BE code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants