Skip to content

Conversation

@varsha766
Copy link
Collaborator

🎯 Purpose

Why is this change needed? (problem it solves or value it adds)

  • Implemented requester-based token accessList generation to ensure that access permissions are assigned based on the module requesting the token (DASHBOARD, VERIFIER, APP_AUTH).
  • Removes duplicated logic and ensures consistent permission handling across all token generation flows.

📝 Changes

  • Brief list of main updates
  • Added TokenModule enum for module-based token generation.
  • Introduced service-specific access matrices (e.g., KYC_ACCESS_MATRIX, SSI_ACCESS_MATRIX, QUEST_ACCESS_MATRIX).
  • Updated token generation flow to use getAccessListForModule() instead of manual access filtering.
  • Added some extra permission in ACCESS_TYPES of ssi and kyc

🔄 Type

  • 🚀 Feature
  • 🐛 Fix
  • 📝 Docs
  • ♻️ Refactor
  • ✅ Tests
  • 🔧 Config / CI

🧪 Testing

How did you test this? (unit/integration/manual)


✅ Checklist

  • Code follows Hypermine standards
  • Tests/docs updated if needed
  • Verified locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants