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

[v12] Add option to allow for host users not to be deleted #28433

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

lxea
Copy link
Contributor

@lxea lxea commented Jun 28, 2023

backport #26892 and #28192

lxea added 2 commits June 29, 2023 12:36
This adds a new role option called create_host_users_mode which allows
for it to be configured to not delete users when a session ends. The
old `create_host_user` option will be deprecated with this.

If the deprecated option is set, the new mode option will default to
dropping users as is the current behavior.

add generated protos

use combined output for commands, dont set CreateHostUser

fix tests

ci fixes

add godocs to HostUserMode constants, fix tests

remain -> keep

Use an enum instead of a string

fix merge errors

Add tests & resolve comments

Resolve issues

fmt
untabify

resolve comments
@lxea lxea force-pushed the lxea/host-users-mode-v12 branch from 20fbb98 to 508221f Compare June 29, 2023 11:36
@r0mant
Copy link
Collaborator

r0mant commented Jul 6, 2023

@lxea Is this good to merge?

@lxea lxea added this pull request to the merge queue Jul 7, 2023
Merged via the queue into branch/v12 with commit 41f8d90 Jul 7, 2023
24 checks passed
@lxea lxea deleted the lxea/host-users-mode-v12 branch July 7, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants