Managing self-service users

You can add more domain administrators and project members, as described in Configuring multitenancy. Also, you can edit, assign to projects, enable/disable, and delete the existing users. Enabling and disabling users allows or prohibits user login in the self-service panel.

To edit user credentials

Admin panel

  1. On the Settings > Projects and users screen, click the domain, within which you want to edit a user.
  2. Go to the Domain users tab, click the ellipsis icon next to the user, and then click Edit.
  3. Make the required changes, and then click Save.

Command-line interface

Use the following command:

vinfra domain user set [--password] [--email <email>] [--name <name>]
                       --domain <domain> <user>
--password
Request the password from stdin
--email <email>
User email
--name <name>
User name
--domain <domain>
Domain name or ID
<user>
User ID or name

For example, to change the email of the user myuser to user@example.com, run:

# vinfra domain user set myuser --domain mydomain --email user@example.com

To enable or disable a user

Admin panel

  1. On the Settings > Projects and users screen, click the domain, within which you want to edit a user.
  2. Go to the Domain users tab, click the ellipsis icon next to the user, and then click Enable or Disable.

Command-line interface

Use the following command:

vinfra domain user set [--enable | --disable] --domain <domain> <user>
--enable
Enable user
--disable
Disable user
--domain <domain>
Domain name or ID
<user>
User ID or name

For example, to disable the user myuser within the domain mydomain, run:

# vinfra domain user set myuser --domain mydomain --disable

To assign a user to a project

Admin panel

  1. On the Settings > Projects and users screen, click the domain, within which you want to edit a user.
  2. Go to the Domain users tab, click the ellipsis icon next to a user with the Project member role, and then click Assign to project.
  3. In the Assign user to projects window, select projects to assign the user to, and then click Assign.

Command-line interface

Use the following command:

vinfra domain user set [--assign <project> <role>] --domain <domain> <user>
--assign <project> <role>

Assign a user to a project with one or more permission sets. Specify this option multiple times to assign the user to multiple projects.

  • <project>: project ID or name
  • <role>: user role in the project (project_admin)
--domain <domain>
Domain name or ID
<user>
User ID or name

For example, to assign the user myuser from the domain mydomain to the project myproject as a project administrator, run:

# vinfra domain user set myuser --domain mydomain --assign myproject project_admin

To delete a user

Admin panel

  1. On the Settings > Projects and users screen, click the domain, within which you want to delete a user.
  2. Go to the Domain users tab, click the ellipsis icon next to it, and then click Delete.
  3. Click Delete in the confirmation window.

Command-line interface

Use the following command:

vinfra domain user delete --domain <domain> <user>
--domain <domain>
Domain ID or name
<user>
User ID or name

For example, to delete the user myuser from the domain mydomain:

# vinfra domain user delete myuser --domain mydomain