Editing and deleting domain groups

You can edit the following parameters of a domain group: its name, description, user role, system and domain permissions. When you delete a domain group, all of the assigned users are automatically logged out of the management panel.

Prerequisites

To edit a domain group

Admin panel

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

Command-line interface

Use the following command:

vinfra domain group set [--name <name>] [--description <description>]
                        [--domain-permissions <domain_permissions>]
                        [--system-permissions <system_permissions>]
                        [--enable | --disable] --domain <domain> <group>
--name <name>
New name for a group
--description <description>
Group description
--domain-permissions <domain_permissions>
A comma-separated list of domain permissions. View the list of available domain permissions using vinfra domain user list-available-roles | grep domain.
--system-permissions <system_permissions>
A comma-separated list of system permissions. View the list of available system permissions using vinfra domain user list-available-roles | grep system.
--enable
Enable a group
--disable
Disable a group
--domain <domain>
Domain name or ID
<group>
Group ID or name

For example, to change the name of the domain group users to myusers, run:

# vinfra domain group set users --domain mydomain --name myusers

To delete a domain group

Admin panel

  1. On the Settings > Projects and users screen, click the domain, within which you want to delete a domain group.
  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 group delete --domain <domain> <group>
--domain <domain>
Domain ID or name
<group>
Group ID or name

For example, to delete the group users from the domain mydomain:

# vinfra domain group delete users --domain mydomain