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

Add kci user commands (was #2157) #2183

Merged
merged 7 commits into from
Nov 21, 2023

Conversation

gctucker
Copy link
Contributor

Replaces #2157

@JenySadadia
Copy link
Collaborator

This PR is missing 4 commits from #2157
i.e. 32559f7, 851fb9e, ba9c9a2, and 9dd52db

@gctucker
Copy link
Contributor Author

This PR is missing 4 commits from #2157 i.e. 32559f7, 851fb9e, ba9c9a2, and 9dd52db

They're already merged, they were in #2155. They were also in #2157 because it depended on #2155, then I rebased it and created this PR to replace it.

@JenySadadia
Copy link
Collaborator

This PR is missing 4 commits from #2157 i.e. 32559f7, 851fb9e, ba9c9a2, and 9dd52db

They're already merged, they were in #2155. They were also in #2157 because it depended on #2155, then I rebased it and created this PR to replace it.

Oh, okay. Thanks for clarifying. Sorry that I didn't double-check with the main branch.

Jeny Sadadia added 7 commits November 20, 2023 10:51
Add `kci user verify` command to verify email for a user
account interactively.
First, the API will send a verification token via an email
to the user and user will need to provide it in the interactive
shell for the successful verification.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add `kci user password reset` command to reset password
interactively. First, The API will send a reset token via
an email. The interactive shell will then ask for reset
token and new password from the user.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add `kci user get <user-id>` command to get
user matching given user ID.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add `kci user update-by-username <username>` command to update
user account matching given username.
This command will only allow admin users to perform
update operation for other user accounts.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add `kci user active <user-id>` command to activate a user
account matching provided user ID.
Only admin users will be allowed to perform this operation.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add `kci user active <user-id>` command to deactivate a user
account matching provided user ID.
Only admin users will be allowed to perform this operation.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add `kci user password update <username>` command to update
password for a user account.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
@JenySadadia JenySadadia added this pull request to the merge queue Nov 21, 2023
Merged via the queue into kernelci:main with commit d08334e Nov 21, 2023
4 checks passed
@gctucker gctucker deleted the add-kci-user-commands branch November 21, 2023 07:51
@gctucker gctucker mentioned this pull request Dec 15, 2023
40 tasks
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.

2 participants