OBSACLPolicy Constants Reference
Declared in | OBSServiceConstDefinition.h |
---|
OBSACLPolicy
- OBSACLPolicy enumeration
*
- Pre-defined access control policies in OBS
*
Definition
typedef NS_ENUM(NSInteger, OBSACLPolicy ) {
OBSACLPolicyNULL0,
OBSACLPolicyPrivate,
OBSACLPolicyPublicRead,
OBSACLPolicyPublicReadWrite,
OBSACLPolicyAuthenticatedRead,
OBSACLPolicyBucketOwnerRead,
OBSACLPolicyBucketOwnerFullControl,
OBSACLPolicyLogDeliveryWrite,
OBSACLPolicyPublicReadDelivered,
OBSACLPolicyPublicReadWriteDelivered,
};
Constants
OBSACLPolicyNULL0
-
* Default permission
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyPrivate
-
* The owner of a bucket or object has the full permissions on the bucket or object. Other users have no permission to access the bucket or object.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyPublicRead
-
* The owner of a bucket or object has the full permissions to the bucket or object. Other users including anonymous users have the read permission.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyPublicReadWrite
-
* The owner of a bucket or object has the full permissions to the bucket or object. Other users including anonymous users have the read and write permissions.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyAuthenticatedRead
-
* The owner of a bucket or object has the full permissions to the bucket or object. Other OBS authorized users have the read permission.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyBucketOwnerRead
-
* The owner of an object has the full permissions to the object and the owner of the bucket where the object resides has the read permission.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyBucketOwnerFullControl
-
* Both the owner of an object and the owner of the bucket where the object resides have the full permissions to the object.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyLogDeliveryWrite
-
* The log delivery group has the write permission to the bucket and the READ_ACP permission.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyPublicReadDelivered
-
* If this permission is set for a bucket, everyone can obtain the object list, multipart uploads, and bucket metadata in the bucket, and obtain the content and metadata of the objects in the bucket. It cannot be applied to objects.
Declared In
OBSServiceConstDefinition.h
. OBSACLPolicyPublicReadWriteDelivered
-
* If this permission is set for a bucket, everyone can obtain the object list in the bucket, multipart uploads in the bucket, metadata of the bucket; upload objects; delete objects; initialize multipart uploads; upload parts; combine parts; copy parts; abort multipart uploads; and obtain content and metadata of objects in the bucket.
Declared In
OBSServiceConstDefinition.h
.
Declared In
OBSServiceConstDefinition.h