Pre-defined Access Control Policies

Namespace

obs.HeadPermission

Parameter Description

Constant

Description

PRIVATE

Private read/write

PUBLIC_READ

Public read

PUBLIC_READ_WRITE

Public read/write

PUBLIC_READ_DELIVERED

Public read on a bucket as well as objects in the bucket

PUBLIC_READ_WRITE_DELIVERED

Public read/write on a bucket as well as objects in the bucket

BUCKET_OWNER_FULL_CONTROL

The owner of a bucket or object has the full control permission on the bucket or object.

PUBLIC_READ_DELIVERED and PUBLIC_READ_WRITE_DELIVERED cannot be set to objects.