care
care copied to clipboard
Fixes: Permission Error during Facility Delete
Updates
- [x] Closes #975
- [x] Fixes coronasafe/care_fe#3329
- [x] Added
has_destroy_permission
method for permission checking - [x] Updated the logic of
has_write_permission
method - [x] Formatted the code
Codecov Report
Base: 56.06% // Head: 56.04% // Decreases project coverage by -0.02%
:warning:
Coverage data is based on head (
8933d12
) compared to base (0beaa72
). Patch coverage: 25.00% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## master #1059 +/- ##
==========================================
- Coverage 56.06% 56.04% -0.03%
==========================================
Files 175 175
Lines 8629 8638 +9
Branches 1462 1477 +15
==========================================
+ Hits 4838 4841 +3
- Misses 3739 3745 +6
Partials 52 52
Impacted Files | Coverage Δ | |
---|---|---|
...are/facility/models/mixins/permissions/facility.py | 47.45% <25.00%> (-3.53%) |
:arrow_down: |
care/users/api/viewsets/change_password.py | 61.53% <0.00%> (+1.53%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
@vigneshhari can you review it