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

[v13] Add option to allow for host users not to be deleted #28432

Merged
merged 1 commit into from Jul 4, 2023

Conversation

lxea
Copy link
Contributor

@lxea lxea commented Jun 28, 2023

backport #26892 and #28192

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
@lxea lxea force-pushed the lxea/host-users-mode-v13 branch from 931c006 to 69b3168 Compare June 28, 2023 16:17
@lxea lxea force-pushed the lxea/host-users-mode-v13 branch from 69b3168 to 43a607a Compare July 4, 2023 14:04
@lxea lxea enabled auto-merge July 4, 2023 14:05
@lxea lxea added this pull request to the merge queue Jul 4, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 4, 2023
@lxea lxea added this pull request to the merge queue Jul 4, 2023
Merged via the queue into branch/v13 with commit cbadfeb Jul 4, 2023
27 checks passed
@lxea lxea deleted the lxea/host-users-mode-v13 branch July 4, 2023 15:38
@r0mant r0mant mentioned this pull request Jul 14, 2023
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
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

3 participants