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
{{ message }}
Repository navigation
Legal API: add FF for filings not yet released #29852
There are feature flags to control which filings the UI shows as released. The API needs to prevent filings that aren't released yet, using new feature flags.
See list in Analysis comment in parent epic for which filings/features need to be controlled by features flags in Prod.
Todo:
declare the list of FFs in BE code
check the FF for the subject filing/feature
if the FF string doesn't contain the current entity type (eg, CP) then reject the filing
The following FFs have been implemented in LaunchDarkly "lear" project. (These are a copy of the FFs from "entity-ui" project, which control the availability of features in the Entity UIs.)
^^ new commit above is to fix FF logic when the FF is "empty" ... without this fix, a lack of FF would not trigger an error -- in other words, with a FF containing "no supported entity types", the feature was still allowed.
Activity
[-]Legal API: add FF for features not yet released[/-][+]Legal API: add FF for filings not yet released[/+]severinbeauvais commentedon Aug 1, 2025
cc: @OlgaPotiagalova
severinbeauvais commentedon Aug 18, 2025
The following FFs have been implemented in LaunchDarkly "lear" project. (These are a copy of the FFs from "entity-ui" project, which control the availability of features in the Entity UIs.)
Here are the current settings. Note that "On" denotes one FF variation (eg, "all corps") while "Off" denotes a different FF variation (eg, "none").
severinbeauvais commentedon Sep 3, 2025
By the way, it just occurred to me that there's a trade-off to be made:
cc: @OlgaPotiagalova
severinbeauvais commentedon Sep 4, 2025
^^ new commit above is to fix FF logic when the FF is "empty" ... without this fix, a lack of FF would not trigger an error -- in other words, with a FF containing "no supported entity types", the feature was still allowed.