All Products
Search
Document Center

AI Guardrails:Grant a RAM user read-only permissions on AI Guardrails

Last Updated:Mar 18, 2026

You can use AI Guardrails as a RAM user. By default, the AliyunYundunGreenWebFullAccess system policy is provided for Alibaba Cloud accounts. You can attach this system policy to grant a RAM user full administrative permissions on AI Guardrails. If you want to grant a RAM user read-only permissions on AI Guardrails, you must create a custom policy to grant permissions. Then, this RAM user cannot perform write operations, such as configuring the scan settings for Object Storage Service (OSS) violation detection and managing the scanning results of OSS violation detection in the Alibaba Cloud AI Guardrails console. This topic describes how to grant a RAM user read-only permissions on AI Guardrails.

Prerequisites

The AliyunYundunGreenWebFullAccess system policy is revoked from a RAM user if it is attached to the user. For more information, see Revoke permissions from a RAM user.

If the RAM user inherits the AliyunYundunGreenWebFullAccess system policy from a user group, this system policy is revoked from the user group or the RAM user is removed from the user group. For more information, see Revoke permissions from a RAM user group and Remove a RAM user from a RAM user group.

Procedure

  1. Log on to the RAM console as a RAM administrator.

  2. On the Policies page, click Create Policy.

    image

  3. On the Create Policy page, click the JSON tab.

    image

  4. Enter the following policy content and click OK.

    {
        "Version": "1",
        "Statement": [{
            "Action": [
                "yundun-greenweb:List*",
                "yundun-greenweb:Get*",
                "yundun-greenweb:Describe*",
                "yundun-greenweb:Query*"
                ],
            "Resource": "*",
            "Effect": "Allow"
        }]
    }
  5. In the Create Policy dialog box, configure the Policy Name and Description parameters and click OK.

  6. In the navigation pane on the left, choose Identities > Users. On the page that appears, find the RAM user to which you want to grant permissions, and click Add Permissions in the Actions column.

  7. In the Add Permissions panel, select the custom policy that you create, and click OK.