Updated on 2023-08-03 GMT+08:00

Organization Management

Scenario

Organizations enable efficient management of images. Organizations are used to isolate image repositories. With each organization being limited to one company or department, images can be managed in a centralized and efficient manner. An image name needs to be unique within an organization. The same IAM user can access different organizations as long as the user has sufficient permissions, as shown in Figure 1.

You can grant different permissions, namely, read, write, and manage, to IAM users under the same account. For details, see User Permissions.

Figure 1 Organization

Creating an Organization

You can create organizations based on the organizational structure of your enterprise to facilitate image resource management. Create an organization before you push an image.

  1. Log in to the SWR console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click Organizations in the navigation pane.
  4. Click Create Organization in the upper right corner of the page. In the dialog box that is displayed, enter the Name and click OK.

    Figure 2 Creating an organization
    • The organization name must be globally unique. If a message is displayed indicating that the organization already exists, the organization name may have been used by another user. Use another organization name.
    • A user can create organizations only after being granted the SWR Admin or Tenant Administrator policy in IAM.

Viewing the Images of an Organization

After you create an organization and push images to it, you can view the image list of the organization.

  1. Log in to the SWR console.
  2. Click in the upper left corner and select the desired region and project.
  3. In the navigation pane, choose Organizations. On the page displayed, click the desired organization name in the list.
  4. To view the images of this organization, click the Images tab.

    Figure 3 Viewing the images of an organization

Deleting an Organization

Before deleting an organization, delete all the images in the organization.

  1. Log in to the SWR console.
  2. Click in the upper left corner and select the desired region and project.
  3. In the navigation pane, choose Organizations. On the page displayed, click the desired organization name in the list.
  4. Click Delete in the upper right corner. In the displayed dialog box, enter DELETE as prompted and click Yes.

    Figure 4 Deleting an organization