Skip to content
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

fix: not apply identifiable token filter to uid length < 4 #19272

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

vietnguyen
Copy link
Contributor

@vietnguyen vietnguyen commented Nov 24, 2024

https://dhis2.atlassian.net/browse/DHIS2-17098

Issue

  • identifiable:token:aaa check for name, code and uid.
  • If the token value is too short, it might be contained by a uid which isn't what user wants.

Fix

  • Add a check to skip uid filter if token value is < 4

Test

@vietnguyen vietnguyen changed the title fix: not apply identiable token filter to uid length < 4 fix: not apply identifiable token filter to uid length < 4 Nov 25, 2024
@vietnguyen vietnguyen merged commit fba91c2 into master Nov 25, 2024
15 checks passed
@vietnguyen vietnguyen deleted the DHIS2-17098-42 branch November 25, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants