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

Permission Types

Module

Access Method

Type

Description

obs.js

ObsClient.enums.PermissionRead

String

A grantee with this permission for a bucket can obtain the list of objects, multipart uploads, and multiple object versions in and the bucket, as well as metadata of the bucket.

A grantee with this permission for an object can obtain the object content and metadata.

obs.js

ObsClient.enums.PermissionWrite

String

A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket.

This permission is not applicable to objects.

obs.js

ObsClient.enums.PermissionReadAcp

String

A grantee with this permission can obtain the ACL of a bucket or object.

A bucket or object owner has this permission permanently.

obs.js

ObsClient.enums.PermissionWriteAcp

String

A grantee with this permission can update the ACL of a bucket or object.

A bucket or object owner has this permission permanently.

A grantee with this permission can modify the access control policy and thus the grantee obtains full access permissions.

obs.js

ObsClient.enums.PermissionFullControl

String

A grantee with this permission for a bucket has PermissionRead, PermissionWrite, PermissionReadAcp, and PermissionWriteAcp permissions for the bucket.

A grantee with this permission for an object has PermissionRead, PermissionWriteAcp, and PermissionWriteAcp permissions for the object.