You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make a middleware that checks the roles of each endpoints automatically (we could hook ourselves to the struct __path_fn generated for each endpoint to provide the required roles) ✋ Blocked by Tracking issue • Post-axum migration improvements #8178 (item routes!)
Nice to have but useful: have all protected endpoints take a Connection extractor which gets a connection from the pool and starts a transaction. This way we ensure that nothing done before checking the roles/grants can't be undone. ✋ Blocked by Rework editoast's testing utils #6980
Note
Design doc: https://osrd.fr/en/docs/reference/design-docs/auth/
Setup and logic system — covered in #7981
editoast_authz
Authorizer
and friends)editoast_authz
side using mocked DB interfacePlanned work
Various improvements
struct __path_fn
generated for each endpoint to provide the required roles) ✋ Blocked by Tracking issue • Post-axum migration improvements #8178 (itemroutes!
)Connection
extractor which gets a connection from the pool and starts a transaction. This way we ensure that nothing done before checking the roles/grants can't be undone. ✋ Blocked by Rework editoast's testing utils #6980The text was updated successfully, but these errors were encountered: