Design Decision Note #39
Locked
metalalive
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Role-Based Access Control & Permissions
How does the system enforce the role-based access control across different API endpoints in any application ?
What are the advantages and potential pitfalls of having roles manage low-level permissions instead of directly assigning permissions to users?
Advantages
Potential pitfalls
Quota Management
How is quota management integrated into the system ?
How would the system handle a situation where a user’s direct quota arrangements conflict with inherited quota values from their group ?
JWT and Authentication:
how JWT token creation, signing, and refresh are implemented in this application?
How does the system manage JWKS rotation
This application manages JWKS rotation through a configurable keystore helper.
what challenges might arise with JWKS management ?
In what ways does the authentication flow protect against replay attacks or token misuse ?
This application mitigates possibility of replay attacks with following strategies :
httpOnlycookies to prevent XSSPlanned enhancement, TODO :
Additional consideration :
jtifield to JWT) , I haven't found any situation that requires it.Asynchronous Processing:
What happens if an asynchronous task (e.g., email notifications, user profile query) fails, and how is that failure handled?
Failure in each asynchronous task does not lead to data inconsistency or system downtime.
General Design Considerations:
What trade-offs did you consider when designing the separation between authentication data (login accounts) and user profile data?
How does the system prevent malicious activities such as email enumeration or unauthorized account resets?
How the system integrates with external applications (e.g., product, storefront, order-processing) through the user-management API?
TODO
Beta Was this translation helpful? Give feedback.
All reactions