You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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)
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. 👍
Activity
loneil commentedon Jun 2, 2025
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. 👍