Fuzzball Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Adding Users to Groups

In order to add users to a group, you will need organization owner or group owner permissions. Users can be added to a group using either the web UI or the CLI. Follow the instructions for your preferred method below.

Please select either the web UI or CLI tab to see the appropriate instructions for your environment.

Prerequisites

Before adding users to groups via the web UI, ensure you have:

Adding Users to Groups

  1. Log into your Fuzzball UI as an organization owner or group owner

  2. Click on the Gear icon in the top right of the dashboard header and select Manage organization

    Manage organization menu

  3. Navigate to the Groups section in the left toolbar

    Groups section

  4. Select the test-group1 group from the list

    Groups section - selected group

  5. Click Add User - users that are already part of the organization will be available in the dropdown menu. Select the user and choose their role (Member or Owner), then click Add

    Add user to group

  6. After adding the user to the group the user will appear in the appropriate tab for the group (Members in our example)

    User added to group

Prerequisites

  • Users already added to the organization (see Adding Users to Organizations)
  • Organization owner or group owner permissions
  • Fuzzball CLI with a context configured for the admin user
  • User ID of the user to add and group ID

Getting Required Information

Getting the User ID

To obtain the user ID, use the Fuzzball organization CLI subcommands list-members or list-owners as appropriate:

$ fuzzball organization list-members
NAME              | ID                                   | CREATED TIME          | LAST UPDATED          | LAST ACTIVE
user2@example.com | 333360aa-c5e4-40e0-8064-f6ac7aa012ab | 2024-07-10 12:10:39AM | 2024-07-10 12:10:39AM | 2024-07-10 12:10:39AM
user3@example.com | dc7b2584-9895-4d9d-8a49-c8b90f9d726b | 2024-07-10 12:19:14AM | 2024-07-10 12:19:14AM | 2024-07-10 12:19:14AM
user@example.com  | f5ce6b0f-03fe-4ce2-a792-e3c5f41e1e5b | 2024-07-03 09:38:36PM | 2024-07-09 09:43:07PM | 2024-07-09 10:32:54PM

Getting the Group ID

To obtain the group ID, use the Fuzzball group CLI subcommand list:

$ fuzzball group list
SELECTED | NAME                         | ID                                   | CREATED TIME          | LAST UPDATED
         | User Account (admin@ciq.com) | 06559942-1f88-4c99-93c5-2dfb1537d355 | 2024-06-19 12:51:29PM | 2024-06-19 12:51:29PM
    *    | default                      | 2ec072f6-7ab2-42fc-acce-5fc0912ce3b0 | 2024-07-03 09:38:14PM | 2024-07-03 09:38:14PM
         | test-group1                  | 324fe14b-1008-4c2d-8e07-e7136c7db38f | 2024-07-09 10:18:18PM | 2024-07-09 10:18:18PM

Adding Users as Group Owners

To add a user as a group owner, use the Fuzzball group CLI subcommand add-owner. The user ID is provided as an argument and the group ID is provided with the --account flag:

$ fuzzball group add-owner 333360aa-c5e4-40e0-8064-f6ac7aa012ab \
    --account 324fe14b-1008-4c2d-8e07-e7136c7db38f
Added owner: user2@example.com to account: 324fe14b-1008-4c2d-8e07-e7136c7db38f

Adding Users as Group Members

To add a user as a group member, use the Fuzzball group CLI subcommand add-member. The user ID is provided as an argument and the group ID is provided with the --account flag:

$ fuzzball group add-member dc7b2584-9895-4d9d-8a49-c8b90f9d726b \
    --account 324fe14b-1008-4c2d-8e07-e7136c7db38f
Added member: user3@example.com to account: 324fe14b-1008-4c2d-8e07-e7136c7db38f