-
Notifications
You must be signed in to change notification settings - Fork 46
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
Role-based authorization system #7981
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #7981 +/- ##
============================================
+ Coverage 27.19% 27.41% +0.21%
- Complexity 2123 2155 +32
============================================
Files 1309 1314 +5
Lines 157687 157952 +265
Branches 3243 3262 +19
============================================
+ Hits 42877 43295 +418
+ Misses 112843 112674 -169
- Partials 1967 1983 +16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
dcd0bc6
to
3a1f97f
Compare
b59182b
to
bdffaf1
Compare
On-site peer review with @woshilapin
A small design discussion about the last two points will be necessary @Khoyo |
2c68ecb
to
5bcf23a
Compare
941e97f
to
ea79fb2
Compare
Changes:
|
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.
A first series of comments about editoast_authz
. The rest is coming soon, stay tuned.
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.
Huge PR, looks fine from my side even if I am no expert in authorization & co.
e76747f
to
820d4fa
Compare
Co-authored-by: Léo Valais <[email protected]>
820d4fa
to
1f12f4e
Compare
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.
LGTM
Important
Tracking issue: #8171
Implementation plan
struct Authorizer
PgAuthDriver
usingdiesel::dsl
PgAuthDriver
Finitions
mv modelsv2/authn.rs modelsv2/auth.rs
TODO:
comments