Expand description
Inputs for creating a user.
NewUser is the request shape for “create a user with these settings”,
used in two places:
Instance::create_backendandInstance::connect_or_create— the initial user who bootstraps a fresh instance, automatically granted Admin on the system databases by virtue of being the first user.InstanceAdmin::create_user— every subsequent user created by an existing admin.
There is no separate “initial user” concept: the entity that creates the
instance is just the first NewUser, and from that point on additional
users are created through the admin path. This eliminates the prior
hardcoded admin/admin bootstrap.
Structs§
- NewUser
- Inputs needed to create a user account.