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

NAS-133758 / 25.04 / Add support for randomizing user passwords #15469

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

anodos325
Copy link
Contributor

@anodos325 anodos325 commented Jan 23, 2025

This commit adds support for randomizing the user password for new users. This is to fulfill backend expectations of password being present while admin provides a one-time password to log into the server and perform operations.

Note: this commit changes the output of user.create and user.update so that it returns a copy of the
entry instead of just returning the pk.

@anodos325 anodos325 added the jira label Jan 23, 2025
@anodos325 anodos325 requested a review from yocalebo January 23, 2025 21:40
@bugclerk bugclerk changed the title Add support for randomizing user passwords NAS-133758 / 25.04 / Add support for randomizing user passwords Jan 23, 2025
@bugclerk
Copy link
Contributor

@anodos325 anodos325 requested a review from a team January 24, 2025 13:40
This commit adds support for randomizing the user password for new
users. This is to fulfill backend expectations of password being
present while admin provides a one-time password to log into the
server and perform operations.

NOTE: this commit changes user.create and user.update responses
so that they are dictionaries rather than int.
@anodos325 anodos325 force-pushed the allow-randomize-password branch from 8cef86d to ffa3c61 Compare January 28, 2025 12:59
@anodos325 anodos325 merged commit 2a8ba6b into master Jan 28, 2025
2 checks passed
@anodos325 anodos325 deleted the allow-randomize-password branch January 28, 2025 13:01
@bugclerk
Copy link
Contributor

JIRA ticket https://ixsystems.atlassian.net/browse/NAS-133758 is targeted to the following versions which have not received their corresponding PRs: 25.10

@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jan 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants