An enumeration of all ACL permissions. More...
#import <S3Permission.h>
Public Member Functions | |
(id) | - initWithXmlCode: |
Static Public Member Functions | |
(S3Permission *) | + readPermission |
Read Permission. | |
(S3Permission *) | + writePermission |
Write permission. | |
(S3Permission *) | + fullControlPermission |
The union of the other permissions. | |
(S3Permission *) | + readAcpPermission |
Grants permission to read the ACL for the applicable bucket or object. | |
(S3Permission *) | + writeAcpPermission |
Gives permission to overwrite the Access Control Policy for the applicable bucket or object. | |
(S3Permission *) | + permissionWithString: |
Get the permission by the string supplied. | |
Protected Attributes | |
NSString * | xmlValue |
An enumeration of all ACL permissions.
For more information, refer:
+ (S3Permission * S3Permission.)fullControlPermission |
The union of the other permissions.
Provides readPermission, writePermission, readAcpPermission, and writeAcpPermission.
+ (S3Permission * S3Permission.)permissionWithString: | (NSString *) | code |
Get the permission by the string supplied.
+ (S3Permission * S3Permission.)readAcpPermission |
Grants permission to read the ACL for the applicable bucket or object.
The owner of a bucket or object always has this permission implicitly.
+ (S3Permission * S3Permission.)readPermission |
Read Permission.
When applied to a bucket, grants permission to list the bucket. When applied to an object, this grants permission to read the object data and/or metadata.
+ (S3Permission * S3Permission.)writeAcpPermission |
Gives permission to overwrite the Access Control Policy for the applicable bucket or object.
The owner of a bucket or object always has this permission implicitly. Granting this permission is equivalent to granting FullControl because the grant recipient can make any changes to the ACP.
+ (S3Permission * S3Permission.)writePermission |
Write permission.
When applied to a bucket, grants permission to create, overwrite, and delete any object in the bucket. This permission is not supported for objects.