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
Need a validation on Identifier assignment screen to avoid duplicate identifiers getting assigned to multiple users #1022
Comments
Is this applicable to User based identifier generation as well? |
In production we have identifier assignment currently that are overlapping across users. |
@petmongrels For User based identifier, we should ensure duplicate ranges are not assigned to the user. We also need to ensure that the prefix for one user is not the same as the one for another user. |
Summarising all the changes made, here.
Implementer Doc |
** Query to find existing overlaps (please replace identifier source id and prefix (prefix is H in this example) **
** Query to get two users in same org and same prefix **
|
Overlapping id sql check is incorrect. Implemented logic - Easier logic that works - Verification missing in test method This was not identified in the card, but there is an issue where users are not assigned prefixes, which results in bad data getting created. |
|
…start < end on the incident IDAssignment.
QA Observations:
|
We need a validation on the Identifier assignment screen in order to avoid any duplicate or overriding range of identifiers getting assigned to multiple users.
Steps to reproduce-
The text was updated successfully, but these errors were encountered: