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
- Domain groups are created, as described in Creating domain groups.
To edit a domain group
Admin panel
- On the Settings > Projects and users screen, click the domain, within which you want to edit a group.
- Go to the Domain groups tab, click the ellipsis icon next to the group, and then click Edit.
-
Make the required changes, and then click Save.
A description should not contain any personally identifiable information or sensitive business data.
Command-line interface
Use the following command:
vinfra domain group set [--name <name>] [--description <description>]
[--domain-permissions <domain_permissions>]
[--system-permissions <system_permissions>]
--domain <domain> <group>
--name <name>- New name for a group
--description <description>-
Group description
A description should not contain any personally identifiable information or sensitive business data.
--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. --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
- On the Settings > Projects and users screen, click the domain, within which you want to delete a domain group.
- Go to the Domain groups tab, click the ellipsis icon next to the group, and then click Delete.
- 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