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

[master]Change userid pattern to only support letters and numbers #802

Conversation

trenxiaof
Copy link
Contributor

The character underline(_) is not supported by smapi, so remove it and only support letters and numbers.

@trenxiaof
Copy link
Contributor Author

@bjhuangr @jichenjc @SeanHQF please help review, the issue is: https://github.ibm.com/zvc/planning/issues/15225#issuecomment-69477716

there're 2 solution for z/VM, after discussing with @SeanHQF, select 2, only support letters and numbers for z/VM userid(currently, the pattern is letters, numbers and underline)

@jichenjc
Copy link
Collaborator

do you want to add some Unit test for this ?

The character underline(_) is not supported by smapi, so
remove it and only support letters and numbers.

Signed-off-by: Xiao Feng Ren <[email protected]>
@trenxiaof trenxiaof force-pushed the rxf-change-userid-pattern-only-letters-and-numbers branch from ac06077 to 75a9711 Compare January 14, 2024 01:32
@trenxiaof
Copy link
Contributor Author

do you want to add some Unit test for this ?

have added the cases to test the invalid userid, it can raise the regex patter not match errors.

@jichenjc jichenjc merged commit e054eaf into openmainframeproject:master Jan 15, 2024
2 checks passed
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