Updated on 2026-07-21 GMT+08:00

Policy-based Authorization

Supported Actions

DSS provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Actions supported by policies are specific to APIs. The following are common concepts related to policies:

  • Permissions: statements in a policy that allow or deny certain operations
  • APIs: REST APIs that can be called by a user who has been granted specific permissions
  • Actions: specific operations that are allowed or denied
  • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
  • IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. For details about the differences between IAM and enterprise management, see Differences Between IAM and Enterprise Management.

DSS supports the following actions that can be defined in custom policies:

  • DSS Storage Pool Management actions, including actions supported by DSS storage pool management APIs. For example, the APIs for obtaining details of a DSS storage pool and obtaining details of DSS storage pools.
  • Disk Management actions, including actions supported by DSS disk management APIs. For example, the API for querying details about all disks.

DSS Storage Pool Management

Permission

API

Action

IAM Project

(Project)

Enterprise Project

(Enterprise Project)

Obtaining details of a DSS storage pool

GET /v1/{project_id}/pools/{dss_id}

dss.action.querypool

Obtaining details of DSS storage pools

GET /v1/{project_id}/pools/detail

dss.action.listpools

Disk Management

Permission

API

Action

IAM Project

(Project)

Enterprise Project

(Enterprise Project)

Querying details about all disks

GET /v2/{project_id}/cloudvolumes/detail

evs:volumes:list