Torch Object Storage
Group | Description |
AuthenticatedUsers | All users who are signed in or authenticated. |
AllUsers | All users, regardless of whether they are authenticated or anonymous. |
Permission | When granted on a bucket | When granted on an object |
READ | Allows the grantee to obtain bucket metadata and list objects and multipart uploads within the bucket. | Allows the grantee to read the object data and its metadata. |
READ_NON_LIST | Allows the grantee to obtain bucket metadata. | Allows the grantee to read the object data and its metadata. |
READ_ACP | Allows the grantee to read the bucket ACL. | Allows the grantee to read the object ACL. |
WRITE | Allows the grantee to create, overwrite, or delete any object in the bucket and to initialize, complete or abort multipart uploads. | Not applicable. |
WRITE_ACP | Allows the grantee to modify or delete the bucket ACL. | Allows the grantee to modify the object ACL. |
FULL_CONTROL | Grants the READ, WRITE, READ_ACP, and WRITE_ACP permissions for the bucket. | Grants the READ, READ_ACP, and WRITE_ACP permissions for the object. |
Predefined ACL | Description |
private | The bucket or object owner has full control, and other users have no permissions. The default policy is private. |
public-read |
|
public-read-write |
|
authenticated-read |
|
bucket-owner-read | Applies to objects. Both the object owner and the bucket owner have READ permission for the object. |
bucket-owner-full-control | Applies to objects. Both the object owner and the bucket owner get full control over the object. |
bucket-owner-entrusted | Applies to objects. Granting this permission to an object gives the bucket owner full control over the object, even if the object's owner is not the bucket's owner. Through a bucket policy, the bucket owner can grant or revoke access to the object for other accounts or users. |
default | Applies to objects. The object inherits the permissions from its bucket. In other words, the object's ACL will mirror the bucket's. |
Request header | Description |
x-tos-grant-read | Grants READ permission. |
x-tos-grant-read-acp | Grants READ_ACP permission. |
x-tos-grant-read-non-list | x-tos-grant-read-non-list must be used with x-tos-grant-read-acp. It is meaningless when used alone. This header is used to revoke permission to list objects and multipart uploads within a bucket. When used with x-tos-grant-read-acp, it indicates that the grantee has the READ_NON_LIST permission. |
x-tos-grant-write | Grants WRITE permission. |
x-tos-grant-write-acp | Grants WRITE_ACP permission. |
x-tos-grant-full-control | Grants FULL_CONTROL permission. |
Permission | Bucket ACL | Object permissions after inheritance |
READ | Allows the grantee to obtain metadata for the bucket and its objects, download objects, and list objects and multipart uploads within the bucket. | Allows the grantee to read the object data and its metadata. |
READ_NON_LIST | Allows the grantee to obtain bucket metadata and access objects within the bucket. | Allows the grantee to read the object data and its metadata. |
WRITE | Allows the grantee to create, overwrite, or delete any object in the bucket and to initialize, complete, or abort multipart uploads. | There are no write APIs available for objects. Even after an object inherits the WRITE ACL from the bucket, the grantee has no effective permissions on the object. Only the bucket or object owner retains full control permissions. |
READ_ACP | Allows the grantee to read the bucket ACL. | Allows the grantee to read the object ACL. |
WRITE_ACP | Allows the grantee to modify or delete the bucket ACL. | Allows the grantee to modify the object ACL. |
FULL_CONTROL | Grants the READ, WRITE, READ_ACP, and WRITE_ACP permissions for the bucket. | Grants the READ, READ_ACP, and WRITE_ACP permissions for the object. |