-
Notifications
You must be signed in to change notification settings - Fork 152
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
[BUG] Users can be created the violate the policy defined below the text field #1234
Comments
Note; when fixing this bug, limited the allowed characters to the regex |
Found while investigating opensearch-project/security#2277 |
[Triage] UI/Backend should enforce the same restrictions. Follow-up with a PR/issue that addresses the following acceptance criteria:
@shanilpa Can you please verify and update the acceptance criteria? |
Thanks for filing this. This solution should work on both the OS Dashboards UI as well as the API. If rules are violated the user should not be allowed to perform the action through either of the experiences. Acceptance Criteria:
Image 1: Image 2: UI implementation guidelines |
What is the bug?
A clear and concise description of the bug.
How can one reproduce the bug?
Steps to reproduce the behavior:
The user name must contain from 2 to 50 characters. Valid characters are A-Z, a-z, 0-9, (_)underscore, (-) hyphen and unicode characters.
Create
What is the expected behavior?
If the username violates the outlined parameters it should not be created through the UI
What is your host/environment?
Do you have any screenshots?
The text was updated successfully, but these errors were encountered: