OBSACLGrant Class Reference
| Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
|---|---|
| Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
Other Methods
– initWithGrantee:permission:
Initialize the grantee object.
- (instancetype)initWithGrantee:(__kindof OBSAbstractACLGrantee *)grantee permission:(OBSACL)permissionParameters
grantee |
Grantee object |
|---|---|
permission |
Granted permission object |
Return Value
The grantee object
Declared In
OBSServiceCommonEntities.h
Other Methods
grantee
Grantee
@property (nonatomic, strong, nonnull) __kindof OBSAbstractACLGrantee *granteeDeclared In
OBSServiceCommonEntities.h
permission
Granted permissions
@property (nonatomic, assign) OBSACL permissionDiscussion
OBSACLRead The read permission
OBSACLWrite The write permission
OBSACLRead_ACP Permission to read ACPs
OBSACLRead_ACP Permission to write ACPs
OBSACLFull_Control Full permissions
OBSACLRead_Object Permission to read objects in a bucket
OBSACLFull_Control_Object Full permissions to objects
Declared In
OBSServiceCommonEntities.h