cisagov / con-pca-api

API Docker Container for Con-PCA
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

feature CPD-906: Add non-unique customer identifier #735

Closed izzy64 closed 2 years ago

izzy64 commented 2 years ago

πŸ—£ Description

Jira ticket: https://cset.atlassian.net/browse/CPD-906

Frontend changes: https://github.com/cisagov/con-pca-web/pull/390

Made the customer["identifier"] field no longer unique. Added a new field, "unique_identifier", based off of "identifier", which is unique.

Note: When this is pushed to production, none of the customer identifiers will be visible in the admin tool. This can be easily fixed by going to each customers page and clicking the save button. This is not necessary for future customers, just ones that were already in the database when this change is pushed (because unique_identifier is a new field that current customers do not possess yet.)

πŸ’­ Motivation and context

Organizations should not be limited in their acronym choices based on other customers.

πŸ§ͺ Testing

Tested Locally.

βœ… Pre-approval checklist

βœ… Pre-merge checklist

βœ… Post-merge checklist