-
Notifications
You must be signed in to change notification settings - Fork 7
Feat/prevent repeated ssns #1187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
isabeleliassen
merged 18 commits into
csg-org:development
from
InspiringApps:feat/prevent-repeated-ssns
Nov 3, 2025
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d4e6f51
Prevent repeat SSNs in post license endpoint
landonshumway-ia 7b650c5
Prevent repeated SSN updates within same CSV file upload
landonshumway-ia 9bbb74b
rename common enum update category to denote use in ingest
landonshumway-ia 72b2de0
formatting
landonshumway-ia 696521f
Use str enum for feature flag names to reduce risk of typos
landonshumway-ia 4a9458e
Add feature flag to codebase for checking ssn duplicates
landonshumway-ia 39b2280
Add feature flag to CDK stack
landonshumway-ia b354686
formatting
landonshumway-ia f5b125e
default flag to true
landonshumway-ia c3b53ad
Update docs to reflect unique SSN requirements
landonshumway-ia 03299f5
PR feedback
landonshumway-ia 9d7e82f
PR feedback
landonshumway-ia 5e63011
PR feedback - improve efficiency of ssn check
landonshumway-ia 9f66c2b
Add logging/env var for feature flag checks
landonshumway-ia 8321f3b
fix comment
landonshumway-ia 1b3badf
PR feedback - document behavior
landonshumway-ia 95b71cb
pin pip version to deal with test runner compatibility issue
landonshumway-ia 7698b35
PR feedback - fix grammar
landonshumway-ia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
backend/compact-connect/lambdas/python/common/cc_common/feature_flag_enum.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| from enum import StrEnum | ||
|
|
||
|
|
||
| class FeatureFlagEnum(StrEnum): | ||
| """ | ||
| Central source for all feature flags currently referenced in the python code of the project. | ||
| Flags should be defined here when first added, and removed when the flag | ||
| is no longer in use. | ||
| """ | ||
|
|
||
| # flag used by internal testing | ||
| TEST_FLAG = 'test-flag' | ||
| # runtime flags | ||
| ENCUMBRANCE_MULTI_CATEGORY_FLAG = 'encumbrance-multi-category-flag' | ||
| DUPLICATE_SSN_UPLOAD_CHECK_FLAG = 'duplicate-ssn-upload-check-flag' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.