Skip to content

Apply the new permissions to the UE, comments and annals routes #63

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

Merged
merged 3 commits into from
May 11, 2025

Conversation

TeddyRoncin
Copy link
Member

@TeddyRoncin TeddyRoncin commented May 1, 2025

All @RequireUserType which were used in a permission check context were replaced by @RequireApiPermission

There are 2 new api permissions: API_GIVE_OPINIONS_UE and API_SEE_ANNALS.

Some api permissions were renamed:

  • API_UPLOAD_ANNAL -> API_UPLOAD_ANNALS
  • API_MODERATE_ANNAL -> API_MODERATE_ANNALS

… with the new permission system, for UE, annal and comment routes
Copy link

codecov bot commented May 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.27%. Comparing base (691a301) to head (b5a6133).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #63      +/-   ##
==========================================
- Coverage   81.33%   81.27%   -0.06%     
==========================================
  Files         126      126              
  Lines        2122     2126       +4     
  Branches      418      403      -15     
==========================================
+ Hits         1726     1728       +2     
- Misses        360      393      +33     
+ Partials       36        5      -31     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@TeddyRoncin TeddyRoncin merged commit 3614ac5 into dev May 11, 2025
9 checks passed
@TeddyRoncin TeddyRoncin deleted the fix/ue-permissions branch May 11, 2025 22:50
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.

2 participants