Skip to content

fix(ui): scope reuse-submit notifications by department#87

Draft
BatLeDev wants to merge 1 commit into
masterfrom
fix-reuse-notifications-department
Draft

fix(ui): scope reuse-submit notifications by department#87
BatLeDev wants to merge 1 commit into
masterfrom
fix-reuse-notifications-department

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Jun 26, 2026

Copy link
Copy Markdown
Member
  • Root accounts subscribe with :* and receive reuse submissions from every portal of the organization (root + departments).
  • A department-scoped account only subscribes to its own department, avoiding cross-department leakage.

Why: possible now that the events service matches the :* wildcard on the subscription side. Emission already carried the portal's real department.

Heads-up: an events subscription's identity includes the sender string; switching from :* to :department creates a new subscription and orphans the old one. Existing subscribers will need to re-subscribe.

Root accounts subscribe with :* to receive submissions from every portal
of the org (root + departments), while a department-scoped account only
subscribes to its own department, avoiding cross-department leakage. This
is possible now that the events service supports the :* wildcard on the
subscription side.
@github-actions github-actions Bot added fix and removed fix labels Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant