mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? Yes ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Feature ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description We are adding the following constraints for username and password: **Username** - The username length must be greater than 0 and less than or equal to 63 characters. **Password** - The password length must be between 8 and 256 characters (inclusive). - The password must satisfy at least 3 of the following 4 conditions: - Contains at least one lowercase letter. - Contains at least one uppercase letter. - Contains at least one digit. - Contains at least one special (non-alphanumeric) character. - The password must not contain any 3-character substring of the username (case-insensitive). Related work items: #3916282