Add `force_random_password` support to `gitlab_user`
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
This merge request adds a new "force_random_password" option, which allows users to set a random password for new GitLab accounts when creating users. This option conflicts with the existing "password" field, ensuring that only one of these can be used at a time. The code also includes updates to handle this new option during user creation and updates test cases to cover the new functionality.
Closes #6447 (closed)
Edited by 🤖 GitLab Bot 🤖