Modifying an Account Permission Policy

This section describes how to modify the policy mode of a permission policy.

Prerequisites

Procedure

  1. Choose Resources > Access > Account.
  2. Click a desired account name and choose Protocol > Object Service > Permission Policy.
  3. Click More on the right of a permission policy to be modified and select Modify.

    The Modify Account Permission Policy page is displayed.

  4. Set Policy Mode. The value can be Recommended or Custom.

    • Recommended: provides three policies.
      • Read-only: Authorized accounts can read bucket resources.
      • Write-only: Authorized accounts can write bucket resources.
      • Read and Write: Authorized accounts can read and write bucket resources.
    • Custom: configures related parameters as required.

      For details about how to set account permission policy parameters, see the description of parameter PolicyDocument in Account Permission Policy Management > Adding and Modifying a Permission Policy in the Service Plane API Description for Object of the corresponding version.

      The policy content must be in JSON format and cannot exceed 2048 characters.

      Example: {"Version": "2008-10-17","Statement":[{"Effect":"Allow","Action":"*","Resource":"*"}]}

  5. Click OK.