Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 4. Managing groups
You can use Identity Service (keystone) groups to assign consistent permissions to multiple user accounts.
4.1. Configuring groups with the CLI Link kopierenLink in die Zwischenablage kopiert!
Create a group and assign permissions to the group. Members of the group inherit the same permissions that you assign to the group:
Create the group
grp-Auditors
:Copy to Clipboard Copied! Toggle word wrap Toggle overflow View a list of keystone groups:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Grant the
grp-Auditors
group permission to access thedemo
project, while using themember
role:openstack role add member --group grp-Auditors --project demo
$ openstack role add member --group grp-Auditors --project demo
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the existing user
user1
to thegrp-Auditors
group:openstack group add user grp-Auditors user1
$ openstack group add user grp-Auditors user1 user1 added to group grp-Auditors
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Confirm that
user1
is a member ofgrp-Auditors
:openstack group contains user grp-Auditors user1
$ openstack group contains user grp-Auditors user1 user1 in group grp-Auditors
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Review the effective permissions that have been assigned to
user1
:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
4.2. Configuring groups with the Dashboard Link kopierenLink in die Zwischenablage kopiert!
You can use the dashboard to manage the membership of keystone groups. However, you must use the command-line to assign role permissions to a group. For more information, see Configuring groups with the CLI.
4.2.1. Creating a group Link kopierenLink in die Zwischenablage kopiert!
- Log in to the dashboard as a user with administrative privileges.
- Select Identity > Groups.
- Click +Create Group.
- Enter a name and description for the group.
- Click Create Group.
4.2.2. Managing Group membership Link kopierenLink in die Zwischenablage kopiert!
You can use the dashboard to manage the membership of keystone groups.
- Log in to the dashboard as a user with administrative privileges.
- Select Identity > Groups.
- Click Manage Members for the group that you want to edit.
- Use Add users to add a user to the group. If you want to remove a user, mark its checkbox and click Remove users.