OBSACLGrant Class Reference
Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
---|---|
Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
Other Methods
– initWithGrantee:permission:
初始化授权对象
- (instancetype)initWithGrantee:(__kindof OBSAbstractACLGrantee *)grantee permission:(OBSACL)permission
Parameters
grantee |
授权用户对象 |
---|---|
permission |
权限对象 |
Return Value
授权对象
Declared In
OBSServiceCommonEntities.h
Other Methods
grantee
授权用户对象
@property (nonatomic, strong, nonnull) __kindof OBSAbstractACLGrantee *grantee
Declared In
OBSServiceCommonEntities.h
permission
授予的权限
@property (nonatomic, assign) OBSACL permission
Discussion
OBSACLRead 读权限, OBSACLWrite 写权限, OBSACLRead_ACP 读ACP权限, OBSACLWrite_ACP 写ACP权限, OBSACLFull_Control 所有权限, OBSACLRead_Object 读桶中的对象, OBSACLFull_Control_Object 拥有对象的所有权限,
Declared In
OBSServiceCommonEntities.h