Skip to content

DBC: Allow AA/AC associated with an Entity to get a DBC without being a named party role #31227

Closed

Description

@loneil

As an account coordinator/administrator (not USER-level) user with access to a SP/BEN/GP (whatever supported DBC types exist at a time) I want have permissions to see the DBC options so that I may issue myself a Digital Business Card that will have a blank role (unless I'm also a party, like Proprietor, or Director).


This is a fix/implementation of the documented DBC Phase 2 requirement "3a". So people with a party on a entity (like a proprietor of an SP) can get a DBC with the role name correctly but need to satisfy the requirement that an AA/AC of an account with access to that entity can also get a DBC with the blank role.


Dev Notes
In the digital_credentials_rules module in legal-api there is account user role checks. If existing higher-precedence role/access checks don't apply, call the auth to get the org membership for the current user and verify if they are Admin or Coordinator.
Existing checks that occur after this check name->party role matching and apply the Role claim in the DBC so those do not need altering for this.


QA Notes
For an Entity (can check an SP where you are the proprietor for example) make sure a DBC can still be issued and you get the Proprietor role in the issued DBC.
Then associate another user as an AA/AC (where that new user is not any party role on the business), they should be able to get a DBC where the role is blank.
Associate another user that is USER (so not AA or AC, also with no party roles on the business), they should not be able to get a DBC.

Activity

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

    @loneil
    CollaboratorAuthor
  4. added theissue type on Nov 12, 2025
  5. changed the title [-]Allow AA/AC associated with an Entity to get a DBC without being a named party role[/-] [+]DBC: Allow AA/AC associated with an Entity to get a DBC without being a named party role[/+] on Nov 27, 2025
  6. loneil commented on Dec 2, 2025

    @loneil
    CollaboratorAuthor

    Released in prod in Lear 2.159.0

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions