-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature.authorization rbac #326
Feature.authorization rbac #326
Conversation
I thought I tested it well enough yesterday, but today with working on the frontend I ran into bugs logging in. So we are getting the algorithm from the header again.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #326 +/- ##
===========================================
- Coverage 65.06% 64.66% -0.41%
===========================================
Files 70 69 -1
Lines 7823 7624 -199
===========================================
- Hits 5090 4930 -160
+ Misses 2733 2694 -39 ☔ View full report in Codecov by Sentry. |
src/cnaas_nms/app_settings.py
Outdated
CAFILE: Optional[Path] = "/opt/cnaas/cacert/rootCA.crt" | ||
CAKEYFILE: Path = "/opt/cnaas/cacert/rootCA.key" | ||
CERTPATH: Path = "/tmp/devicecerts/" | ||
JWT_CERT: Path = Path("./opt/cnaas/jwtcert/public.pem") |
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.
The path here has an extra . at the beginning causing integration test errors
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.
Thanks!
…nf, remove unneccersary lib
make sure to read permission_disabled setting from file before building default rules
…naas-nms into feature.authorization
…to help performance a bit with two connections to the same host
…ity server for every request. This makes the API a lot more responsive
…set/sent, to be used for the /auth/refresh endpoint
the callback as well Add /auth/refresh API endpoint to support using refresh_tokens
…e compatible with client_credentials type clients
…d of hardcoding to email
…urned, run dos2unix for fixing line endings
… be needed with multiprocess integrationtests
Quality Gate passedIssues Measures |
Add permissions to the authentication so different user roles can have different permissions