BmobACL Class Reference

Inherits from NSObject
Declared in BmobACL.h

+ ACL

创建BmobACL对象

+ (instancetype)ACL

Return Value

BmobACL对象

Declared In

BmobACL.h

– setPublicReadAccess

设置所有人读权限为true

- (void)setPublicReadAccess

Declared In

BmobACL.h

– setPublicWriteAccess

设置所有人写权限为true

- (void)setPublicWriteAccess

Declared In

BmobACL.h

– setReadAccessForUserId:

设置某个用户读权限为true

- (void)setReadAccessForUserId:(NSString *)userId

Parameters

userId

用户的objectId

Declared In

BmobACL.h

– setWriteAccessForUserId:

设置某个用户写权限为true

- (void)setWriteAccessForUserId:(NSString *)userId

Parameters

userId

用户的objectId

Declared In

BmobACL.h

– setReadAccessForUser:

设置某个用户的读权限为true

- (void)setReadAccessForUser:(BmobUser *)user

Parameters

user

某个BmobUser用户

Declared In

BmobACL.h

– setWriteAccessForUser:

设置某个用户的写权限为true

- (void)setWriteAccessForUser:(BmobUser *)user

Parameters

user

BmobUser用户对象

Declared In

BmobACL.h

– setReadAccessForRoleWithName:

设置角色的读权限为true

- (void)setReadAccessForRoleWithName:(NSString *)name

Parameters

name

角色名

Declared In

BmobACL.h

– setWriteAccessForRoleWithName:

设置角色的写权限为true

- (void)setWriteAccessForRoleWithName:(NSString *)name

Parameters

name

角色名

Declared In

BmobACL.h

– setReadAccessForRole:

设置角色的读权限为true

- (void)setReadAccessForRole:(BmobRole *)role

Parameters

role

BmobRole角色对象

Declared In

BmobACL.h

– setWriteAccessForRole:

设置角色的写权限为true

- (void)setWriteAccessForRole:(BmobRole *)role

Parameters

role

BmobRole角色对象

Declared In

BmobACL.h