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

Set default permission class to IsAuthenticated & made required changes #2268

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

dhruv-goyal-10
Copy link
Contributor

Fixes #2238

Proposed Changes

  • set permissions to [] on required public endpoints
  • removed explicit permission attribute if it IsAuthenticated only

Associated Issue

Architecture changes

  • Added IsAuthenticated as default permission class in settings file

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

set permissions to [] on required public endpoints

removed explicit permission attribute if it IsAuthenticated only

Fixes ohcnetwork#2238
@dhruv-goyal-10 dhruv-goyal-10 requested a review from a team as a code owner June 17, 2024 14:35
@dhruv-goyal-10
Copy link
Contributor Author

@sainak Can you have a look at this PR?

@vigneshhari
Copy link
Member

@sainak Functional review required.

@sainak sainak self-assigned this Sep 23, 2024
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.49%. Comparing base (9038b93) to head (a28a094).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2268      +/-   ##
===========================================
- Coverage    65.62%   65.49%   -0.14%     
===========================================
  Files          222      222              
  Lines        13319    13267      -52     
  Branches      1882     1882              
===========================================
- Hits          8741     8689      -52     
- Misses        4190     4191       +1     
+ Partials       388      387       -1     

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

@vigneshhari vigneshhari merged commit 58ad8ab into ohcnetwork:develop Sep 23, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set default permission class to IsAuthenticated
3 participants