Skip to content

DBC Queue Service: Handle Auth API account removal message #31277

Closed

Description

@loneil

As an Account Coordinator/Admin that has a DBC for a business I have access to due to AA/AC association, I want to have my DBC revoked if my AA/AC association is removed, so that I don't have a DBC for a business I don't have access to any more.


This will relate to handling the Auth API message implemented in #27075 (edit: additional changes in #31398)

This was implemented on the auth side (see ticket above), will need to be pointed at the DBC Queue Service endpoint and implement a handler on the DBC side that receives the message and does a revocation for a DBC that exists for the user and business in the message.


QA Notes
Test out giving an account AA or AC (try for both, should not allow in the first place for USER), access to a profile that controls a business eligible to get DBCs.
Then issue yourself a DBC for that business,
Have the AA/AC account association removed.
The DBC should end up revoked in your wallet.

Activity

  1. self-assigned this
    on Nov 13, 2025
  2. added
    Entities Team
    on Nov 13, 2025
  3. loneil commented on Nov 24, 2025

    @loneil
    CollaboratorAuthor

    Travis has kindly set up an additional subscriber
    projects/a083gt-dev/subscriptions/business-digital-credentials-auth-dev
    on dev GCP. Note this listens to a topic from the Auth namespace (projects/gtksf3-dev/topics/auth-event-dev) so a creator of subscriptions needs access to both GCP namespaces for this.

    The subscriber will receive auth events and filter at subscriber with attributes.action_category = "account-management". Messages push to the existing business-digital-credentials-dev queue service.

  4. loneil commented on Nov 24, 2025

    @loneil
    CollaboratorAuthor

    After discussion with Travis and Ody, will use message changes being implemented in #31398

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

Metadata

Metadata

Assignees

Labels

DBC Phase 2Entities Team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions