-
Notifications
You must be signed in to change notification settings - Fork 10
fix(backend): fix rights to take a decision #3934
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR improves authorization controls by adding role-based restrictions to document operations and refactoring decision-making permissions. The changes include proper role decorators for structure document endpoints and a new centralized permission system for user decisions. The code is well-structured with comprehensive test coverage, though there are some minor issues with error handling and code organization.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3934 +/- ##
==========================================
- Coverage 65.40% 65.40% -0.01%
==========================================
Files 964 967 +3
Lines 16471 16475 +4
Branches 2283 2275 -8
==========================================
+ Hits 10773 10775 +2
- Misses 5356 5358 +2
Partials 342 342
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
🎉 This PR is included in version 2.221.7 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.