Skip to content

[medium] Extract shared origin-validation logic into permission-service #348

Description

@davedumto

Summary

Origin validation logic is currently duplicated between the extension background worker and permission-service, violating DRY.

Requirements

  • Extract the shared validation logic into permission-service as the source of truth
  • Update the extension to call the shared logic rather than reimplementing it
  • Add tests verifying both call sites produce identical validation results
  • Remove the now-duplicated implementation from the extension

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions