OBSACL Constants Reference

Declared in OBSServiceConstDefinition.h

OBSACL

  • OBSACL enumeration

*

  • Permissions for an OBS bucket or object

*

Definition

typedef NS_ENUM(NSInteger, OBSACL ) {
   OBSACLNULL0,
   OBSACLRead,
   OBSACLWrite,
   OBSACLRead_ACP,
   OBSACLWrite_ACP,
   OBSACLFull_Control,
   OBSACLRead_Object,
   OBSACLFull_Control_Object,
};

Constants

OBSACLNULL0
 *  Default value

Declared In OBSServiceConstDefinition.h.

OBSACLRead
 *  A grantee with this permission on a bucket can obtain the list of objects in and metadata of the bucket. A grantee with this permission on an object enables users to obtain the content and metadata of the object. 

Declared In OBSServiceConstDefinition.h.

OBSACLWrite
 *  A grantee with this permission on a bucket can upload, overwrite, and delete any object in the bucket. This permission is not applicable to objects.

Declared In OBSServiceConstDefinition.h.

OBSACLRead_ACP
 *  A grantee with this permission can obtain the ACL of a bucket or object. The owners of the buckets or objects always have the READ_ACP permission of their own buckets or objects. 

Declared In OBSServiceConstDefinition.h.

OBSACLWrite_ACP
 *  A grantee with this permission can obtain the ACL of a bucket or object. The owners of the buckets or objects always have the WRITE_ACP permission of their own buckets or objects. A grantee with this permission can change access control policies, which means the grantee has the full permissions.

Declared In OBSServiceConstDefinition.h.

OBSACLFull_Control
 *  A grantee with this permission on a bucket has "READ", "WRITE", "READ_ACP", and "WRITE_ACP" permissions on the bucket. A grantee with this permission on an object has "READ", "READ_ACP", and "WRITE_ACP" permissions on the object. This restriction does not apply to users with the read-only permission.

Declared In OBSServiceConstDefinition.h.

OBSACLRead_Object
 *  A grantee with the read permission on an object can obtain the content and metadata of the object. 

Declared In OBSServiceConstDefinition.h.

OBSACLFull_Control_Object
 *  A grantee with this permission on an object has "READ", "READ_ACP", and "WRITE_ACP" permissions on the object. This restriction does not apply to users with the read-only permission.

Declared In OBSServiceConstDefinition.h.

Declared In

OBSServiceConstDefinition.h