Repository navigation
Added consent-mgt methods and consent provider implementation - #2178
Conversation
Signed-off-by: Sachin Rana <sacrana324@gmail.com>
Signed-off-by: anushasunkada <anushasunkada@gmail.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (25)
WalkthroughAdds PostgreSQL-backed consent persistence and hashing, implements consent resolution and recording, integrates consent prompts into the authorization flow, shares Redis runtime state, and updates authentication metadata and KYC response handling. ChangesConsent enforcement
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant AuthorizationFlow
participant ConsentProvider
participant RuntimeStore
participant PostgreSQL
AuthorizationFlow->>ConsentProvider: Resolve consent
ConsentProvider->>RuntimeStore: Read authorization request
ConsentProvider->>PostgreSQL: Fetch stored consent
ConsentProvider-->>AuthorizationFlow: Prompt or continue
AuthorizationFlow->>ConsentProvider: Record decision
ConsentProvider->>PostgreSQL: Save consent and history
Possibly related issues
Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes