Skip to content

DBC2: Feature Flags per entity type #28743

Closed
Closed

Description

@loneil

As a BC Registries application operator I want feature flags extended to type of business so that DBC support can be rolled out (or disabled) in a more controlled manner.

--
Dev Notes
There is a legal-api/src/legal_api/services/digital_credentials_rules.py that determines if an entity user is able to work with DBCs based on all the business rules. This ends up passed down to the filings UI as well as to whether they are enabled or not. In there we can read a list of allowed feature flags.
That file references lists of supported types (where other decisions are made for allowance) so an intersection of those and the FF list can be done to control support.

Note there's also an existing "all DBC" FF killswitch that the filings UI uses as well.

--
QA Notes
In a Manage Business view that supports DBC you should get the option under More Actions:

Image

This is supported (and now toggle able) for SP, GP, BEN companies, so to check,

  • go to a business you have DBC eligibility for (the other existing user name, role, etc rules still apply), see the DBC function is available
  • have the feature flag for that type turned off (believe this needs a legal-api restart too? updates without restart)
  • go back and see that the option is not there
    Image

Activity

  1. added
    Entities Team
    on May 30, 2025
  2. loneil commented on Jun 2, 2025

    @loneil
    CollaboratorAuthor

    Have tested this out in the DEV and TEST environments toggling the flag between [SP] and [SP, GP, BEN] and see the DBC option appearing or disappearing for expected cases. 👍

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